f047dc000a66e2ef7f39f38521d8b49c69947a9d
[src/xds/xds-gdb.git] / .vscode / launch.json
1 {
2     "version": "0.2.0",
3     "configurations": [
4
5     {
6             "name": "xds-gdb help",
7             "type": "go",
8             "request": "launch",
9             "mode": "debug",
10             "program": "${workspaceRoot}",
11             "env": {
12                 "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
13                 "XDS_LOGLEVEL": "debug"
14             },
15             "args": ["-tt", "--help", "--version"],
16             "showLog": false
17         },
18         {
19             "name": "xds-gdb",
20             "type": "go",
21             "request": "launch",
22             "mode": "debug",
23             "program": "${workspaceRoot}",
24             "env": {
25                 "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}"
26             },
27             "args": ["-x", "/tmp/gdbconf.ini", "-nx"],
28             "showLog": false
29         },
30           {
31             "name": "xds-gdb TTY",
32             "type": "go",
33             "request": "launch",
34             "mode": "debug",
35             "program": "${workspaceRoot}",
36             "env": {
37                 "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}"
38             },
39             "args": ["-tty", "/dev/pts27", "-nx", "-x", "${workspaceRoot}/__config/gdb-on-m3ulcb_debug_pi.ini"],
40             "showLog": false
41         },
42         {
43             "name": "xds-gdb native",
44             "type": "go",
45             "request": "launch",
46             "mode": "debug",
47             "program": "${workspaceRoot}",
48             "env": {
49                 "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
50                 "XDS_LOGLEVEL": "debug"
51             },
52             "args": ["-x", "${workspaceRoot}/__config/gdb-on-localhost_debug_pi.ini"],
53             "showLog": false
54         }
55
56     ]
57 }