{ // 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 (DEV)", "command": "npm run debug-npm-env", // > _logs/debug.log "request": "launch", "type": "node-terminal", "preLaunchTask": "killInspector", // <-- Add this line "env": { "NODE_ENV": "development" } }, { "name": "Run npm node (PROD)", "command": "npm run prod", // > _logs/debug.log "request": "launch", "type": "node-terminal", "preLaunchTask": "killInspector", // <-- Add this line "env": { "NODE_ENV": "production" } }, { // "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": [ "/**" ] } ] }