3 releases (breaking)
0.3.0 | Mar 29, 2019 |
---|---|
0.2.0 | Mar 29, 2019 |
0.1.0 | Mar 27, 2019 |
#27 in #launch
23 downloads per month
11KB
166 lines
cargo-debug
A subcommand for cargo that launches the specified debugger on the output of a provided subcommand.
Usage
Install with cargo install cargo-debug
cargo debug test
to run the test binary in a debuggercargo debug --debugger=lldb build
to run the output binary in lldbcargo debug test -- --all
to run thecargo test
with the--all
argumentcargo debug test -- -- --ignored
to run the test binary in the debugger with the--ignored
argumentcargo debug --command-file=test.cmd build
to run the build binary in a debugger with the specified command file
Status
TODO: this currently only works with projects with a single output file, a filter should be added where more that one output is discovered.
Dependencies
~7–15MB
~200K SLoC