aboutsummaryrefslogtreecommitdiffstats
path: root/.vscode/launch.json
blob: 3637b39fcfdc3646fbfefb5f05dd0edae2e83d69 (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
{
    "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}",
                "ROOT_DIR": "${workspaceRoot}/../../../.."
            },
            "args": ["-log", "debug", "-c", "config.json.in"],
            "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}",
                "ROOT_DIR": "${workspaceRoot}/../../../.."
            },
            "args": ["-log", "debug", "-c", "__config_local_dev.json"],
            "showLog": false
        },
        {
            "name": "XDS-Server IN DOCKER",
            "type": "go",
            "request": "launch",
            "mode": "debug",
            "port": 22000,
            "host": "172.17.0.2",
            "remotePath": "/xds/src/github.com/iotbzh/xds-server/bin/xds-server",
            "program": "${workspaceRoot}",
            "env": {
                "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
                "ROOT_DIR": "${workspaceRoot}/../../../.."
            },
            "args": [],
            "showLog": true
        }

    ]
}