diff options
Diffstat (limited to '.vscode')
-rw-r--r-- | .vscode/launch.json | 8 | ||||
-rw-r--r-- | .vscode/settings.json | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json index 6e0c820..70f4f8e 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -9,7 +9,7 @@ "mode": "debug", "program": "${workspaceRoot}", "env": { - "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}", + "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}", "XDS_LOGLEVEL": "debug" }, "args": ["-tt", "--help", "--version"], @@ -22,7 +22,7 @@ "mode": "debug", "program": "${workspaceRoot}", "env": { - "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}", + "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}", "XDS_LOGLEVEL": "debug" }, "args": ["-x", "${workspaceRoot}/__config/gdb-on-target.ini", "-nx"], @@ -35,7 +35,7 @@ "mode": "debug", "program": "${workspaceRoot}", "env": { - "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}" + "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}", }, "args": ["-tty", "/dev/pts27", "-nx", "-x", "${workspaceRoot}/__config/gdb-on-m3ulcb_debug_pi.ini"], "showLog": false @@ -47,7 +47,7 @@ "mode": "debug", "program": "${workspaceRoot}", "env": { - "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}", + "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}", "XDS_LOGLEVEL": "debug" }, "args": ["-x", "${workspaceRoot}/__config/gdb-on-localhost_debug_pi.ini"], diff --git a/.vscode/settings.json b/.vscode/settings.json index 16b3a00..8c1f563 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,8 @@ // Place your settings in this file to overwrite default and user settings. { + // Specify GOPATH here to override the one that is set as environment variable. The inferred GOPATH from workspace root overrides this, if go.inferGopath is set to true. + "go.gopath": "${workspaceRoot}/../../../../../..", + // Configure glob patterns for excluding files and folders. "files.exclude": { "**/.tmp": true, |