Fixed GOPATH setup while debugging in VSC 41/13241/1
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Thu, 18 Jan 2018 17:01:27 +0000 (18:01 +0100)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Thu, 18 Jan 2018 17:01:27 +0000 (18:01 +0100)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
.vscode/launch.json

index 69944df..6f793c2 100644 (file)
             "host": "127.0.0.1",
             "program": "${workspaceRoot}",
             "env": {
-                "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
+                "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
                 "WORKSPACE_ROOT": "${workspaceRoot}",
                 "XDS_DEBUG_MODE": "1",
                 "XDS_LOG_SILLY": "0",
-                "ROOT_DIR": "${workspaceRoot}/../../../.."
             },
             "args": ["-log", "debug", "-c", "__agent-config_local_dev.json"],
             "showLog": false