DEV Community

Discussion on: Debugging Rust with VS Code

Collapse
 
blueglyph profile image
blueglyph • Edited

It seems you need LLDB for Windows as well, now, the proper extension for VS Code is "CodeLLDB". VS Code will prompt you once you launch a debug, and before that you'll notice you cannot place breakpoints.

There are other options than LLDB but I haven't tried to see if they worked on their own or not, they don't seem very mature.

Even more problems than with the IntelliJ plugin, and not nearly as much functionality, but it's free.

In order to specify the program arguments, you have to set them as a list of strings, for ex.

"args": [ "10", "15" ],