update xds-server package in docker
[src/xds/xds-server.git] / .vscode / launch.json
1 {
2     "version": "0.2.0",
3     "configurations": [
4         {
5             "name": "XDS-Server",
6             "type": "go",
7             "request": "launch",
8             "mode": "debug",
9             "remotePath": "",
10             "port": 2345,
11             "host": "127.0.0.1",
12             "program": "${workspaceRoot}",
13             "env": {
14                 "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
15             },
16             "args": ["-log", "debug"],
17             "showLog": false
18         },
19         {
20             "name": "XDS-Server-Test",
21             "type": "go",
22             "request": "launch",
23             "mode": "test",
24             "program": "${workspaceRoot}/test",
25             "env": {
26                 "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
27             },
28             "args": ["-test.v", "-test.run", ".*"],
29             "showLog": false
30         },
31         {
32             "name": "XDS-Server local dev",
33             "type": "go",
34             "request": "launch",
35             "mode": "debug",
36             "remotePath": "",
37             "port": 2345,
38             "host": "127.0.0.1",
39             "program": "${workspaceRoot}",
40             "env": {
41                 "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
42                 "XDS_LOG_SILLY": "0"
43             },
44             "args": ["-log", "debug", "-c", "__config_local_dev.json"],
45             "showLog": false
46         },
47         {
48             "name": "Script SDK db-dump",
49             "type": "python",
50             "request": "launch",
51             "stopOnEntry": true,
52             "pythonPath": "${config:python.pythonPath}",
53             "program": "${workspaceFolder}/scripts/sdks/agl/db-dump",
54             "args": [
55                 "-debug"
56             ],
57             "cwd": "${workspaceFolder}",
58             "env": {},
59             "envFile": "${workspaceFolder}/.env",
60             "debugOptions": [
61                 "RedirectOutput"
62             ]
63         }
64     ]
65 }