env/ debug

This commit is contained in:
Dobromir Popov
2024-02-27 03:15:59 +02:00
parent a5a24512a8
commit b6abb81195
3 changed files with 17 additions and 7 deletions

10
.vscode/launch.json vendored
View File

@ -25,6 +25,16 @@
"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",