X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=.vscode%2Flaunch.json;h=b79209905de0229666c8c5d783f41eef8c332ee7;hb=0012c3c7b256df7db834080740d8fc124c9dba22;hp=f5ca8689fd7fc0d2105a5fff7b56f3eaee34c77b;hpb=3e178f01710e2e50860c3d5e6e8e346f2d378a5c;p=src%2Fxds%2Fxds-cli.git diff --git a/.vscode/launch.json b/.vscode/launch.json index f5ca868..b792099 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,6 +1,8 @@ { "version": "0.2.0", - "configurations": [{ + "configurations": [ + + { "name": "xds-cli (version)", "type": "go", "request": "launch", @@ -16,7 +18,7 @@ "showLog": false }, { - "name": "xds-cli (list)", + "name": "xds-cli sdks (list)", "type": "go", "request": "launch", "mode": "debug", @@ -81,6 +83,22 @@ }, "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 } ]