Anyone got other useful tools for debugging within (neo)vim? Just seamlessly putting down breakpoints, stepping through code execution, and getting a fully fledged debugging UI experience (a la Visual Studio or Remedy BG)? This is possibly the only thing I miss from developing on Windows, and it's a shame!<p>EDIT: I specified 'within vim' but actually I'd be down for standalone Linux app recommendations too.
I personally have never used a debugger in Rust. Logging and printing has typically been enough.<p>For those use cases where it is tough to see the output (tests, windows services, etc.) I wrote the `rdbg` set of crates. It is essentially identical to `dbg!` and `println!` macros, but delivers messages via a TCP socket to a simple command-line viewer (which can be on the same machine or remote). The design is such that it can be enabled and used the first time within a minute or two for "quick and dirty debugging". It can just as quickly be removed or turned into a no-op with a Rust feature.<p>Dependency: <a href="https://crates.io/crates/rdbg" rel="nofollow">https://crates.io/crates/rdbg</a><p>Viewer: <a href="https://crates.io/crates/rdbg-view" rel="nofollow">https://crates.io/crates/rdbg-view</a><p>EDIT: Apparently I need to update the README as I added the 'msgf' and 'valsf' macros that include auto-flush which is handy for short running programs where explicit flush doesn't work due to failing program/etc.
I have written an extension for VSCode that replicates the repeat last test feature and lets you run the test under the cursor.<p><a href="https://marketplace.visualstudio.com/items?itemName=fcoury.runst" rel="nofollow">https://marketplace.visualstudio.com/items?itemName=fcoury.r...</a>