X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=.vscode%2Flaunch.json;h=70f4f8e7c43269c906d3de60dc706f595ed331de;hb=f95f219c20ec7d67b11c011dff84da74a7fd63de;hp=d70ddec90d969708f6c22c40fa2530ab46bb4810;hpb=813a78d13a4773b6a74a4f0090bb3621a355bf1d;p=src%2Fxds%2Fxds-gdb.git diff --git a/.vscode/launch.json b/.vscode/launch.json index d70ddec..70f4f8e 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -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"], @@ -22,19 +22,20 @@ "mode": "debug", "program": "${workspaceRoot}", "env": { - "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}" + "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}", + "XDS_LOGLEVEL": "debug" }, - "args": ["-x", "/tmp/xds-gdb.env", "-nx"], + "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"],