-
Notifications
You must be signed in to change notification settings - Fork 645
Investigate what it would take for the debugger to be aware of GOPATH from settings #840
Comments
The debug adapter runs in a different process altogether than the extension host and so the usual ways of accessing settings in the extension cannot be used by the debug adapter. One way to solve the current GOPATH resolving issue when debugging is for the debug adapter to infer the GOPATH based on the path of the file/package it is asked to debug. This is being tracked by the PR #1150 |
The GOPATH issue is solved by the debugger figuring out the GOPATH from the path provided in the Closing this issue |
It looks like GOPATH is broken with the latest release (0.6.64). I get the following error message. go: GOPATH entry is relative; must be absolute path: "undefined". Is there a way to use the earlier version of this plugin (0.6.63)? |
The debug adapter cannot read the settings. Therefore if go path is set using
go.gopath
orgo.inferGopath
settings then the debug adapter is never aware of the gopath thus set.It needs user to set the GOPATH again via the debug configurations in the launch.json
The text was updated successfully, but these errors were encountered: