aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-01-18 18:00:11 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-01-18 18:00:11 +0100
commite48154f403c82d30d282a03d9ce13ace334a6be9 (patch)
tree9b90c0313a99792e187b577772c62e9aa779bc38
parent7a9d476b0b871c9d74fb7ff4aead77e99dba6905 (diff)
Fixed GOPATH setup while debugging in VSC
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
-rw-r--r--.vscode/launch.json6
1 files changed, 2 insertions, 4 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index f976fb6..3f4facb 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -10,8 +10,7 @@
"host": "127.0.0.1",
"program": "${workspaceRoot}",
"env": {
- "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
- "ROOT_DIR": "${workspaceRoot}/../../../.."
+ "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
},
"args": ["-log", "debug"],
"showLog": false
@@ -26,8 +25,7 @@
"host": "127.0.0.1",
"program": "${workspaceRoot}",
"env": {
- "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
- "ROOT_DIR": "${workspaceRoot}/../../../..",
+ "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
"XDS_LOG_SILLY": "0"
},
"args": ["-log", "debug", "-c", "__config_local_dev.json"],