-
Notifications
You must be signed in to change notification settings - Fork 646
Unable to start debugging on .go files due to path error #878
Comments
Can you share your debug configurations from |
Can you share the complete error and your Looks like the error is coming from https://github.com/Microsoft/vscode-go/blob/c530ed4c7cae1038df630307ff9a5eb173714e53/src/debugAdapter/goDebug.ts#L206 |
(VSCode) Try opening the folder where the .go file exists in. Don't open the .go file independently. Or VSCode could not create/read the .vscode folder nor the debug file. |
@bviktor has the same problem:
|
@bviktor Can you share your debug configuration from the launch.json file? |
Can not found any launch.json in the work dir and whole disk. |
Hit the same error. |
same issue. No launch.json could be found on disk. |
The This default configuration uses the It appears that I cannot repro it though. Can one of you share a sample simple repo where this happens?
|
@ramya-rao-a the opening post provides a step-by-step guide to reproduce the issue. |
Actually, it's the opening post of microsoft/vscode#25138 |
Steps to Reproduce:
Expected output: Actual output:
On the top the following appears:
Which you can either "close" or "open launch.json" but if you try the latter, nothing happens at all. |
Thanks @bviktor I can repro now. |
This will be fixed by 42646af And the fix will be out in the next update Thanks everyone! |
Thanks a bunch! |
The fix for this is out in the latest update (0.6.60) |
Confirmed to be working now, thanks again. |
Only happened on Golang files both portable version and install version. Debugging on another language(like Python) works well.
msg:
vs code version: 1.10.2
go version: 1.8
Any ideas?
The text was updated successfully, but these errors were encountered: