X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=.vscode%2Flaunch.json;h=4f200ec8e7924ad1ca3b3870a11d366175fbec76;hb=c17a8d29b2177a087f7fea1db4ada2b3795a7a31;hp=046c824677525fab70737a385d5ceb1535523374;hpb=077b94e53a8c486d87efbb4946ac17ec02f961c2;p=e-mobility-charging-stations-simulator.git diff --git a/.vscode/launch.json b/.vscode/launch.json index 046c8246..4f200ec8 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,19 +5,25 @@ "version": "0.2.0", "configurations": [ { - "type": "pwa-node", + "type": "node", "request": "launch", - "name": "Debug Program via npm", + "name": "Debug Simulator Development Build via pnpm", "cwd": "${workspaceFolder}", - "runtimeExecutable": "npm", - "runtimeArgs": [ - "run-script", - "start:dev:debug" - ], - "skipFiles": [ - "/**" - ], + "runtimeExecutable": "pnpm", + "runtimeArgs": ["run", "start:dev:debug"], + "skipFiles": ["/**"], "stopOnEntry": true + }, + { + "name": "Debug Simulator Unit Tests", + "type": "node", + "request": "attach", + "port": 9229, + "continueOnAttach": true, + "autoAttachChildProcesses": false, + "timeout": 30000, + "resolveSourceMapLocations": ["!**/node_modules/**"], + "skipFiles": ["/**"] } ] }