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.
When the user specifies a cwd folder that doesn't exist, VSCode fails to launch the probe-rs-debugger process, with:
probe-rs-debugger process encountered an error: {"errno":-2,"code":"ENOENT","syscall":"spawn probe-rs-debugger","path":"probe-rs-debugger","spawnargs":["debug","--port","60126","--vscode"]}
This PR will test for cwd existence and provide a meaningful error if it does not.
When the user specifies a
cwd
folder that doesn't exist, VSCode fails to launch theprobe-rs-debugger
process, with:This PR will test for
cwd
existence and provide a meaningful error if it does not.