Skip to content

Commit c578fc5

Browse files
ZZiigguurraattZZiigguurraatt
authored andcommitted
launch.json: reorganize
1 parent bcde1cb commit c578fc5

File tree

1 file changed

+32
-42
lines changed

1 file changed

+32
-42
lines changed

.vscode/launch.json

Lines changed: 32 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -5,58 +5,48 @@
55
"version": "0.2.0",
66
"configurations": [
77
{
8-
"name": "Debug Tests",
9-
"type": "node",
10-
"request": "launch",
11-
"runtimeExecutable": "${workspaceRoot}/app/node_modules/.bin/react-scripts",
12-
"args": ["test", "--runInBand", "--no-cache", "--watchAll=false"],
13-
"cwd": "${workspaceRoot}/app/",
14-
"protocol": "inspector",
15-
"console": "integratedTerminal",
16-
"internalConsoleOptions": "neverOpen",
17-
"env": { "CI": "true" },
18-
"disableOptimisticBPs": true
19-
},
20-
21-
22-
{
23-
"name": "test_custom_channels",
8+
"name": "Debug itest",
249
"type": "go",
2510
"request": "launch",
2611
"mode": "test",
12+
"preLaunchTask": "reset before itest",
2713
"program": "${workspaceFolder}/itest",
28-
"args": [
29-
"-test.v",
30-
"-test.run=TestLightningTerminal/test_custom_channels",
31-
"-loglevel=trace",
32-
"-btcdexec=./btcd-itest",
33-
"-litdexec=./litd-itest",
34-
"-logdir=regtest",
35-
],
3614
"env": {
3715
"GOEXPERIMENT": "loopvar",
3816
"GO111MODULE": "on"
3917
},
18+
"args": [
19+
"-test.v",
20+
"-test.run=TestLightningTerminal/test_custom_channels",
21+
"-loglevel=trace",
22+
"-btcdexec=./btcd-itest",
23+
"-logdir=${workspaceFolder}/itest/.logs",
24+
"-litdexec=${workspaceFolder}/itest/litd-itest",
25+
],
4026
"buildFlags": [
41-
"-tags=dev monitoring autopilotrpc chainrpc invoicesrpc peersrpc routerrpc signrpc verrpc walletrpc watchtowerrpc wtclientrpc integration itest btcd",
27+
"-tags=dev integration itest autopilotrpc routerrpc signrpc verrpc walletrpc chainrpc invoicesrpc watchtowerrpc wtclientrpc peersrpc btcd monitoring",
4228
],
4329
"hideSystemGoroutines": true,
44-
}
45-
46-
47-
48-
49-
50-
51-
52-
53-
54-
55-
56-
57-
58-
59-
60-
30+
},
31+
{
32+
"name": "Debug Tests",
33+
"type": "node",
34+
"request": "launch",
35+
"runtimeExecutable": "${workspaceRoot}/app/node_modules/.bin/react-scripts",
36+
"args": [
37+
"test",
38+
"--runInBand",
39+
"--no-cache",
40+
"--watchAll=false"
41+
],
42+
"cwd": "${workspaceRoot}/app/",
43+
"protocol": "inspector",
44+
"console": "integratedTerminal",
45+
"internalConsoleOptions": "neverOpen",
46+
"env": {
47+
"CI": "true"
48+
},
49+
"disableOptimisticBPs": true
50+
}
6151
]
6252
}

0 commit comments

Comments
 (0)