X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.vscode%2Flaunch.json;h=ee5fd9846ed87ae8e9e672ebbe2008f042f4379d;hb=349d5d26522c29f6841bc7ca3b0663d51cfef30a;hp=5c8aa82b4f96dcd045bf6d9fc96aa11a2422d5d1;hpb=fc20191350f323b57faa6a9c5eca53a76e2cce55;p=e-mobility-charging-stations-simulator.git diff --git a/.vscode/launch.json b/.vscode/launch.json index 5c8aa82b..ee5fd984 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,35 +5,28 @@ "version": "0.2.0", "configurations": [ { - "type": "pwa-node", + "type": "node", "request": "launch", - "name": "Debug Simulator via npm", + "name": "Debug Simulator Development Build via pnpm", "cwd": "${workspaceFolder}", - "preLaunchTask": "Build", - "runtimeExecutable": "npm", - "runtimeArgs": [ - "run-script", - "start:debug" - ], - "skipFiles": [ - "/**" - ], + "runtimeExecutable": "pnpm", + "runtimeArgs": ["run", "start:dev:debug"], + "skipFiles": ["/**"], "stopOnEntry": true }, { - "type": "pwa-node", - "request": "launch", - "name": "Debug Simulator Development Build via npm", - "cwd": "${workspaceFolder}", - "runtimeExecutable": "npm", - "runtimeArgs": [ - "run-script", - "start:dev:debug" - ], - "skipFiles": [ - "/**" + "name": "Debug Simulator Unit Tests", + "type": "node", + "request": "attach", + "port": 9229, + "continueOnAttach": true, + "autoAttachChildProcesses": false, + "timeout": 30000, + "resolveSourceMapLocations": [ + "!**/node_modules/**", + "!**/.vscode/extensions/hbenl.vscode-mocha-test-adapter-*/**" ], - "stopOnEntry": true + "skipFiles": ["/**"] } ] }