1 of 1 people found this helpful
Please make sure that in the "launch.json" file you have set the "debugServerPath" and "MIDebuggerPath" correctly. Please clarify the following:
- Are you using "mbed" or "make" in the preLaunchTask?
- Are you using openocd or pyocd as the server?
Please attach the "launch.json" and the "tasks.json" file along with the screenshot of the error so that we can get more insight on the error.
In tasks.json, I'm using mbed
In launch.json, the prelaunchTask is mbed.exe
debug server is pyocd-gdbserver.exe
Here is the error:
Logs from output and debug windows attached.