Fix tests
[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                 "VERBOSE": 1,
28             },
29             "args": ["-test.v", "-test.run", ".*"],
30             "showLog": false
31         },
32         {
33             "name": "XDS-Server local dev",
34             "type": "go",
35             "request": "launch",
36             "mode": "debug",
37             "remotePath": "",
38             "port": 2345,
39             "host": "127.0.0.1",
40             "program": "${workspaceRoot}",
41             "env": {
42                 "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
43                 "XDS_LOG_SILLY": "0"
44             },
45             "args": ["-log", "debug", "-c", "__config_local_dev.json"],
46             "showLog": false
47         },
48         {
49             "name": "Script SDK db-dump",
50             "type": "python",
51             "request": "launch",
52             "stopOnEntry": true,
53             "pythonPath": "${config:python.pythonPath}",
54             "program": "${workspaceFolder}/scripts/sdks/agl/db-dump",
55             "args": [
56                 "-debug"
57             ],
58             "cwd": "${workspaceFolder}",
59             "env": {},
60             "envFile": "${workspaceFolder}/.env",
61             "debugOptions": [
62                 "RedirectOutput"
63             ]
64         }
65     ]
66 }