aboutsummaryrefslogtreecommitdiffstats
path: root/.vscode/launch.json
blob: 6e0c82075b76b4fdd20df0f9191d71824f3dfb3c (plain)
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
{
    "version": "0.2.0",
    "configurations": [

        {
            "name": "xds-gdb help",
            "type": "go",
            "request": "launch",
            "mode": "debug",
            "program": "${workspaceRoot}",
            "env": {
                "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
                "XDS_LOGLEVEL": "debug"
            },
            "args": ["-tt", "--help", "--version"],
            "showLog": false
        },
        {
            "name": "xds-gdb",
            "type": "go",
            "request": "launch",
            "mode": "debug",
            "program": "${workspaceRoot}",
            "env": {
                "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
                "XDS_LOGLEVEL": "debug"
            },
            "args": ["-x", "${workspaceRoot}/__config/gdb-on-target.ini", "-nx"],
            "showLog": false
        },
        {
            "name": "xds-gdb TTY",
            "type": "go",
            "request": "launch",
            "mode": "debug",
            "program": "${workspaceRoot}",
            "env": {
                "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}"
            },
            "args": ["-tty", "/dev/pts27", "-nx", "-x", "${workspaceRoot}/__config/gdb-on-m3ulcb_debug_pi.ini"],
            "showLog": false
        },
        {
            "name": "xds-gdb native",
            "type": "go",
            "request": "launch",
            "mode": "debug",
            "program": "${workspaceRoot}",
            "env": {
                "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
                "XDS_LOGLEVEL": "debug"
            },
            "args": ["-x", "${workspaceRoot}/__config/gdb-on-localhost_debug_pi.ini"],
            "showLog": false
        }

    ]
}