X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=.vscode%2Flaunch.json;h=96d60b3824325274c9144a96a0ad3fa072e278ec;hb=03e64dc8ad5634c56b5fd7f61b9336fd33e7c3cb;hp=f5ca8689fd7fc0d2105a5fff7b56f3eaee34c77b;hpb=3e178f01710e2e50860c3d5e6e8e346f2d378a5c;p=src%2Fxds%2Fxds-cli.git diff --git a/.vscode/launch.json b/.vscode/launch.json index f5ca868..96d60b3 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", @@ -9,14 +11,13 @@ "env": { "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}", "XDS_APPNAME": "xds-cli", - "XDS_AGENT_URL": "localhost:8800", "XDS_LOGLEVEL": "debug" }, "args": ["misc", "version"], "showLog": false }, { - "name": "xds-cli (list)", + "name": "xds-cli sdks (list)", "type": "go", "request": "launch", "mode": "debug", @@ -24,7 +25,6 @@ "env": { "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}", "XDS_APPNAME": "xds-cli", - "XDS_AGENT_URL": "localhost:8800", "XDS_LOGLEVEL": "debug" }, "args": ["sdks", "list"], @@ -81,6 +81,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 } ]