- I know how to run individual tests via:
cargo test blahblah::test_00
- However, I want to run the test under gdb. I can do this via:
gdb target-dir/...../crate-name blahblah::test_00
run
- Getting the target-dir/crate-name is not always easy (for some reason, there are multiple builds). Is there some way to tell cargo to directly run the binary under gdb?
Thanks!