cleanup to allow for debugging

This commit is contained in:
2024-05-26 10:42:21 -05:00
parent c495b265ee
commit e1c9a7b81b
7 changed files with 101 additions and 58 deletions

32
.vscode/launch.json vendored
View File

@@ -4,6 +4,17 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Attach",
"port": 9229,
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"localRoot": "${workspaceFolder}/src",
"remoteRoot": "/home/node/app/src"
},
{
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
@@ -16,25 +27,8 @@
"<node_internals>/**"
],
"type": "node",
"env": {"NODE_ENV": "development"},
"env": {"NODE_ENV": "development", "DEBUG": "app"},
"preLaunchTask": "npm: build-css"
},
{
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"name": "nodemon (with scss watch)",
"program": "dev (with scss watch)",
"request": "launch",
"restart": true,
"runtimeExecutable": "nodemon",
"runtimeArgs": ["-e", "js,scss"],
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"env": {"NODE_ENV": "development"},
"preLaunchTask": "npm: build-css"
},
}
]
}