Merge pull request #131 from shocknet/debug-tools

debug tools breakpoint debugging
This commit is contained in:
CapDog 2020-08-02 21:26:24 -04:00 committed by GitHub
commit e7997fb059
2 changed files with 17 additions and 2 deletions

14
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,14 @@
{
"configurations": [
{
"name": "Launch Program",
"program": "${workspaceFolder}/main.js",
"args": ["-h", "0.0.0.0", "-c"],
"request": "launch",
"skipFiles": ["<node_internals>/**"],
"type": "node",
"envFile": "${workspaceFolder}/.env",
"outputCapture": "std"
}
]
}

View file

@ -1,4 +1,5 @@
{ {
"eslint.enable": true, "eslint.enable": true,
"typescript.tsdk": "node_modules/typescript/lib" "typescript.tsdk": "node_modules/typescript/lib",
} "debug.node.autoAttach": "on"
}