Hello,
I'm kind of confused about how to debug my rust code, I tried searching around the internet but accurate technical information regarding this subject is surprisingly scarce!
Someone recommended me to read this article which says I should use rust-lldb with binaries under target/debug/deps but when I try it I don't get the original source code as output from the debugger, instead I just get the disassembled machine code.
So I'd like to know the proper way to debug rust.
If I was working with C I'd simply enable the option to add the debug symbols and use gdb on the resulting binary directly, how do I do the same in Rust?
Bonus Question: Why does the deps directory have a million copies of my program? Can I disable generation of these additional artifacts?