debug tools breakpoint debugging

This commit is contained in:
Daniel Lugo 2020-08-02 16:36:48 -04:00
parent 650bf7f37c
commit 3a7ff36be7
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,
"typescript.tsdk": "node_modules/typescript/lib"
}
"typescript.tsdk": "node_modules/typescript/lib",
"debug.node.autoAttach": "on"
}