X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.vscode%2Flaunch.json;h=4f200ec8e7924ad1ca3b3870a11d366175fbec76;hb=a66bbcfe85550dc01a2e32bd17a52f5980a78193;hp=5bdb6a1d003d3dc4bf8945d3e4f7b0992a65c731;hpb=44b5e61d0ea44bef1601b77805cc6360363f88db;p=e-mobility-charging-stations-simulator.git diff --git a/.vscode/launch.json b/.vscode/launch.json index 5bdb6a1d..4f200ec8 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -7,15 +7,23 @@ { "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" - ], - "port": 9229, + "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": ["/**"] } ] }