Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ litcli-debug
# MacOS junk
.DS_Store

itest/regtest
itest/btcd-itest
itest/litd-itest
itest/lnd-itest
Expand Down
35 changes: 33 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,48 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug itest",
"type": "go",
"request": "launch",
"mode": "test",
"preLaunchTask": "reset before itest",
"program": "${workspaceFolder}/itest",
"env": {
"GOEXPERIMENT": "loopvar",
"GO111MODULE": "on"
},
"args": [
"-test.v",
"-test.run=TestLightningTerminal/test_custom_channels",
"-loglevel=trace",
"-btcdexec=./btcd-itest",
"-logdir=${workspaceFolder}/itest/.logs",
"-litdexec=${workspaceFolder}/itest/litd-itest",
],
"buildFlags": [
"-tags=dev integration itest autopilotrpc routerrpc signrpc verrpc walletrpc chainrpc invoicesrpc watchtowerrpc wtclientrpc peersrpc btcd monitoring",
],
"hideSystemGoroutines": true,
},
{
"name": "Debug Tests",
"type": "node",
"request": "launch",
"runtimeExecutable": "${workspaceRoot}/app/node_modules/.bin/react-scripts",
"args": ["test", "--runInBand", "--no-cache", "--watchAll=false"],
"args": [
"test",
"--runInBand",
"--no-cache",
"--watchAll=false"
],
"cwd": "${workspaceRoot}/app/",
"protocol": "inspector",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"env": { "CI": "true" },
"env": {
"CI": "true"
},
"disableOptimisticBPs": true
}
]
Expand Down