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