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?
The test executable path is printed when you run the test via Cargo. The path is relatively stable, so that you can do cargo build && gdb <that executable>.
I see the name after "Running" in cargo test.
Is there a way to get "cargo build" to dump the name? I'd prefer to setup some regex/script instead of hand copying.