Fixed Windows support.
[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                 "XDS_LOGLEVEL": "debug"
27             },
28             "args": ["-x", "${workspaceRoot}/__config/gdb-on-target.ini", "-nx"],
29             "showLog": false
30         },
31         {
32             "name": "xds-gdb TTY",
33             "type": "go",
34             "request": "launch",
35             "mode": "debug",
36             "program": "${workspaceRoot}",
37             "env": {
38                 "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}"
39             },
40             "args": ["-tty", "/dev/pts27", "-nx", "-x", "${workspaceRoot}/__config/gdb-on-m3ulcb_debug_pi.ini"],
41             "showLog": false
42         },
43         {
44             "name": "xds-gdb native",
45             "type": "go",
46             "request": "launch",
47             "mode": "debug",
48             "program": "${workspaceRoot}",
49             "env": {
50                 "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
51                 "XDS_LOGLEVEL": "debug"
52             },
53             "args": ["-x", "${workspaceRoot}/__config/gdb-on-localhost_debug_pi.ini"],
54             "showLog": false
55         }
56
57     ]
58 }