X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=.vscode%2Flaunch.json;h=1fc4ed167d2a4aae363413773d8f9003de11fab3;hb=refs%2Ftags%2Fflounder%2F6.0.4;hp=aadccfd93f888c31656087d5ec4a399a0259243c;hpb=e54535129f23970619042a328ad9a139bba21c5d;p=src%2Fxds%2Fxds-cli.git diff --git a/.vscode/launch.json b/.vscode/launch.json index aadccfd..1fc4ed1 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -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,12 +75,28 @@ "mode": "debug", "program": "${workspaceRoot}", "env": { - "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}", + "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}", "XDS_APPNAME": "xds-cli", "XDS_LOGLEVEL": "debug" }, "args": ["-c", "xds-config-sample.env", "sdks", "ls"], "showLog": false + }, + { + "name": "xds-cli (terminal)", + "type": "go", + "request": "launch", + "mode": "debug", + "program": "${workspaceRoot}", + "env": { + "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}", + "XDS_APPNAME": "xds-cli", + "XDS_AGENT_URL": "localhost:8800", + "XDS_LOGLEVEL": "debug" + }, + "args": ["targets", "term", "-tid", "10bd", "-u", "root" ], + //"args": ["targets", "term-rm", "e31ad288-18ab-11e8-8afa-3c970e49ad9b" ], + "showLog": false } ]