-
Notifications
You must be signed in to change notification settings - Fork 646
Unhelpful error message when program is not full path in launch.config #782
Comments
Can you run |
Yes I installed it using |
The fix is to use full path of executable for "program" key in launch configuration (see this diff). Thanks to your instructions about debugging the debugger, I was able to pinpoint root cause of this issue. In We should improve the documentation and add a better error message in goDebug.ts instead of ignoring the error. I shall try to send a pull request with the change tomorrow. |
Thanks @surajbarkale-dolby ! Yes, the program key needs to be a full path. I just added a line about this in the wiki The debugging part of the extension needs some work, we have been trying to improve it in the last few weeks. Looking forward to your PR. |
Fixed in the latest update (0.6.54) to the Go extension. |
Summery
When using delve in vscode, I got
Failed to continue: "Error: spawn /usr/local/bin/dlv ENOENT"
error. Using command line to launch delve works as expected.Reproduction
https://github.com/surajbarkale-dolby/gb-example/tree/vscode
debug.sh
to launch delve to verify that delve workscode .
)The text was updated successfully, but these errors were encountered: