probe-rs / vscode

VSCode debug extension for probe-rs. It uses the MS DAP protocol to communicate directly with the probe (via probe-rs), and supports basic command line debugging in addition to VSCode UI.
https://probe.rs/
Other
65 stars 5 forks source link

Assign default `cwd` correctly. #83

Closed noppej closed 5 months ago

bugadani commented 5 months ago

This is unfortunately still not working for me in all cases. However, I now know this is because the whole cwd assignment is only done for an autostarted debugger, but not with a debug server. This means that if I start a debugger with the DAP-Server probe-rs launch config, or just cargo run the debugger in server mode, it will still not work. On the other hand, autostart works now, which is nice.