aboutsummaryrefslogtreecommitdiffstats
path: root/.vscode/launch.json
blob: a5b082c094485ee05f69d45cbe5835ae1341dec2 (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
59
60
61
62
63
64
65
66
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "XDS-Server",
            "type": "go",
            "request": "launch",
            "mode": "debug",
            "remotePath": "",
            "port": 2345,
            "host": "127.0.0.1",
            "program": "${workspaceRoot}",
            "env": {
                "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
            },
            "args": ["-log", "debug"],
            "showLog": false
        },
        {
            "name": "XDS-Server-Test",
            "type": "go",
            "request": "launch",
            "mode": "test",
            "program": "${workspaceRoot}/test",
            "env": {
                "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
                "VERBOSE": 1,
            },
            "args": ["-test.v", "-test.run", ".*"],
            "showLog": false
        },
        {
            "name": "XDS-Server local dev",
            "type": "go",
            "request": "launch",
            "mode": "debug",
            "remotePath": "",
            "port": 2345,
            "host": "127.0.0.1",
            "program": "${workspaceRoot}",
            "env": {
                "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
                "XDS_LOG_SILLY": "0"
            },
            "args": ["-log", "debug", "-c", "__config_local_dev.json"],
            "showLog": false
        },
        {
            "name": "Script SDK db-dump",
            "type": "python",
            "request": "launch",
            "stopOnEntry": true,
            "pythonPath": "${config:python.pythonPath}",
            "program": "${workspaceFolder}/scripts/sdks/agl/db-dump",
            "args": [
                "-debug"
            ],
            "cwd": "${workspaceFolder}",
            "env": {},
            "envFile": "${workspaceFolder}/.env",
            "debugOptions": [
                "RedirectOutput"
            ]
        }
    ]
}