Update GOPATH in VSCode project (now in gerrit)
[src/xds/xds-gdb.git] / .vscode / launch.json
index 5fc6380..70f4f8e 100644 (file)
@@ -2,14 +2,14 @@
     "version": "0.2.0",
     "configurations": [
 
-    {
+        {
             "name": "xds-gdb help",
             "type": "go",
             "request": "launch",
             "mode": "debug",
             "program": "${workspaceRoot}",
             "env": {
-                "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
+                "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
                 "XDS_LOGLEVEL": "debug"
             },
             "args": ["-tt", "--help", "--version"],
             "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"],
             "showLog": false
         },
-          {
+        {
             "name": "xds-gdb TTY",
             "type": "go",
             "request": "launch",
             "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
@@ -46,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"],