Fixed GOPATH setup while debugging in VSC
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Wed, 24 Jan 2018 14:17:36 +0000 (15:17 +0100)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Wed, 24 Jan 2018 14:17:36 +0000 (15:17 +0100)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
.vscode/launch.json

index aadccfd..f5ca868 100644 (file)
@@ -7,7 +7,7 @@
             "mode": "debug",
             "program": "${workspaceRoot}",
             "env": {
-                "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
+                "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
                 "XDS_APPNAME": "xds-cli",
                 "XDS_AGENT_URL": "localhost:8800",
                 "XDS_LOGLEVEL": "debug"
@@ -22,7 +22,7 @@
             "mode": "debug",
             "program": "${workspaceRoot}",
             "env": {
-                "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
+                "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
                 "XDS_APPNAME": "xds-cli",
                 "XDS_AGENT_URL": "localhost:8800",
                 "XDS_LOGLEVEL": "debug"
@@ -37,7 +37,7 @@
             "mode": "debug",
             "program": "${workspaceRoot}",
             "env": {
-                "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
+                "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
                 "XDS_APPNAME": "xds-cli",
                 "XDS_AGENT_URL": "localhost:8800",
                 "XDS_LOGLEVEL": "debug"
@@ -56,7 +56,7 @@
             "mode": "debug",
             "program": "${workspaceRoot}",
             "env": {
-                "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
+                "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
                 "XDS_APPNAME": "xds-cli",
                 "XDS_AGENT_URL": "localhost:8800",
                 "XDS_LOGLEVEL": "debug"
@@ -75,7 +75,7 @@
             "mode": "debug",
             "program": "${workspaceRoot}",
             "env": {
-                "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
+                "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
                 "XDS_APPNAME": "xds-cli",
                 "XDS_LOGLEVEL": "debug"
             },