X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=.vscode%2Flaunch.json;h=b79209905de0229666c8c5d783f41eef8c332ee7;hb=0012c3c7b256df7db834080740d8fc124c9dba22;hp=aadccfd93f888c31656087d5ec4a399a0259243c;hpb=e54535129f23970619042a328ad9a139bba21c5d;p=src%2Fxds%2Fxds-cli.git diff --git a/.vscode/launch.json b/.vscode/launch.json index aadccfd..b792099 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,13 +1,15 @@ { "version": "0.2.0", - "configurations": [{ + "configurations": [ + + { "name": "xds-cli (version)", "type": "go", "request": "launch", "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" @@ -16,13 +18,13 @@ "showLog": false }, { - "name": "xds-cli (list)", + "name": "xds-cli sdks (list)", "type": "go", "request": "launch", "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 +39,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 +58,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 +77,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 } ]