Add cli-config.env file support
[src/xds/xds-cli.git] / .vscode / launch.json
1 {
2     "version": "0.2.0",
3     "configurations": [
4
5     {
6             "name": "xds-cli (version)",
7             "type": "go",
8             "request": "launch",
9             "mode": "debug",
10             "program": "${workspaceRoot}",
11             "env": {
12                 "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
13                 "XDS_APPNAME": "xds-cli",
14                 "XDS_LOGLEVEL": "debug"
15             },
16             "args": ["misc", "version"],
17             "showLog": false
18         },
19         {
20             "name": "xds-cli sdks (list)",
21             "type": "go",
22             "request": "launch",
23             "mode": "debug",
24             "program": "${workspaceRoot}",
25             "env": {
26                 "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
27                 "XDS_APPNAME": "xds-cli",
28                 "XDS_LOGLEVEL": "debug"
29             },
30             "args": ["sdks", "list"],
31             "showLog": false
32         },
33         {
34             "name": "xds-cli (add Projects)",
35             "type": "go",
36             "request": "launch",
37             "mode": "debug",
38             "program": "${workspaceRoot}",
39             "env": {
40                 "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
41                 "XDS_APPNAME": "xds-cli",
42                 "XDS_AGENT_URL": "localhost:8800",
43                 "XDS_LOGLEVEL": "debug"
44             },
45             "args": ["prj", "add",
46                 "-type", "pm",
47                 "-path", "/home/seb/xds-workspace/test1",
48                 "-server-path", "/home/seb/xds-workspace/test1"
49             ],
50             "showLog": false
51         },
52         {
53             "name": "xds-cli (exec Projects)",
54             "type": "go",
55             "request": "launch",
56             "mode": "debug",
57             "program": "${workspaceRoot}",
58             "env": {
59                 "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
60                 "XDS_APPNAME": "xds-cli",
61                 "XDS_AGENT_URL": "localhost:8800",
62                 "XDS_LOGLEVEL": "debug"
63             },
64             "args": ["exec",
65                 "-id", "3baf",
66                 "-rpath", "build",
67                 "pwd && ls .."
68             ],
69             "showLog": false
70         },
71         {
72             "name": "xds-cli (with xds-config.env)",
73             "type": "go",
74             "request": "launch",
75             "mode": "debug",
76             "program": "${workspaceRoot}",
77             "env": {
78                 "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
79                 "XDS_APPNAME": "xds-cli",
80                 "XDS_LOGLEVEL": "debug"
81             },
82             "args": ["-c", "xds-config-sample.env", "sdks", "ls"],
83             "showLog": false
84         },
85         {
86             "name": "xds-cli (terminal)",
87             "type": "go",
88             "request": "launch",
89             "mode": "debug",
90             "program": "${workspaceRoot}",
91             "env": {
92                 "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
93                 "XDS_APPNAME": "xds-cli",
94                 "XDS_AGENT_URL": "localhost:8800",
95                 "XDS_LOGLEVEL": "debug"
96             },
97             "args": ["targets", "term", "-tid", "10bd", "-u", "root" ],
98             //"args": ["targets", "term-rm", "e31ad288-18ab-11e8-8afa-3c970e49ad9b" ],
99             "showLog": false
100         }
101
102     ]
103 }