Added target and terminal support
[src/xds/xds-cli.git] / .vscode / launch.json
index f5ca868..1fc4ed1 100644 (file)
             },
             "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
         }
 
     ]