How to debug and optimize Rust code (note: recommended editor Visual Studio Code with rust-analyzer and CodeLLDB extensions)