Files
mwitnessing/.vscode/launch.json
2024-02-22 04:19:38 +02:00

75 lines
2.5 KiB
JSON

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Chrome Debug",
"type": "chrome",
"request": "launch",
"url": "http://localhost:3003",
"webRoot": "${workspaceFolder}/src",
"runtimeExecutable": "C:\\Program Files\\BraveSoftware\\Brave-Browser\\Application\\brave.exe",
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*"
}
},
{
"name": "Run npm nodemon",
"command": "npm run debug ", // > _logs/debug.log
"request": "launch",
"type": "node-terminal",
"preLaunchTask": "killInspector", // <-- Add this line
},
{
// "type": "pwa-node",
// "request": "launch",
// "name": "Next: Node",
// "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/next",
"name": "next dev",
"command": "npm run devNext",
"request": "launch",
"type": "node-terminal"
},
{
// "type": "pwa-node",
// "request": "launch",
// "name": "Next: Node",
// "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/next",
"name": "Run npm next start",
"command": "npm run start",
"request": "launch",
"type": "node-terminal"
},
{
"name": "Run conda npm debug",
"request": "launch",
"type": "node-terminal",
"cwd": "${workspaceFolder}",
"command": "conda activate node && npm run debug",
},
{
"name": "Run conda npm TEST",
"request": "launch",
"type": "node-terminal",
"cwd": "${workspaceFolder}",
"command": "conda activate node && npm run test",
"env": {
"NODE_ENV": "test"
}
},
{
"type": "node",
"request": "attach",
"name": "Attach nodemon",
"processId": "${command:PickProcess}",
"restart": true,
// "protocol": "inspector",
"internalConsoleOptions": "neverOpen",
"skipFiles": [
"<node_internals>/**"
]
}
]
}