cargo-debugger 0.1.0

Launch your cargo build with the vscode debugger attached
cargo-debugger-0.1.0 is not a library.

cargo-debugger: easily launch rust executables with vscode's debugger

cargo-debugger is a simple CLI tool that launches your cargo build with the vscode debugger attached.

demo.gif

Installation

cargo install cargo-debugger

Usage

cdb is an alias to cargo rustc --message-format json-diagnostic-rendered-ansi ... - so simply pass normal cargo arguments to cdb.

Any extra args after -- will be passed to the executable under debug.

cargo debugger --bin dioxus-cli -- serve --verbose --experimental-bundle-split --trace --release

This will launch your cargo build with the vscode debugger attached.

License

MIT