From e48154f403c82d30d282a03d9ce13ace334a6be9 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Thu, 18 Jan 2018 18:00:11 +0100 Subject: [PATCH] Fixed GOPATH setup while debugging in VSC Signed-off-by: Sebastien Douheret --- .vscode/launch.json | 6 ++---- 1 file 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"], -- 2.16.6