X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.vscode%2Flaunch.json;h=47cb8a6a112bb2611be99eade7eb98e6e8344cc4;hb=e9a4164c46a1cf3d5761f06446dc7b46b98372ad;hp=5bdb6a1d003d3dc4bf8945d3e4f7b0992a65c731;hpb=44b5e61d0ea44bef1601b77805cc6360363f88db;p=e-mobility-charging-stations-simulator.git diff --git a/.vscode/launch.json b/.vscode/launch.json index 5bdb6a1d..47cb8a6a 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -7,15 +7,36 @@ { "type": "node", "request": "launch", - "name": "Debug Program via npm", + "name": "Debug Simulator via npm", "cwd": "${workspaceFolder}", "runtimeExecutable": "npm", - "runtimeArgs": [ - "run-script", - "start:dev:debug" - ], - "port": 9229, + "runtimeArgs": ["run-script", "start:debug"], + "skipFiles": ["/**"], + "stopOnEntry": true + }, + { + "type": "node", + "request": "launch", + "name": "Debug Simulator Development Build via npm", + "cwd": "${workspaceFolder}", + "runtimeExecutable": "npm", + "runtimeArgs": ["run-script", "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/**", + "!**/.vscode/extensions/hbenl.vscode-mocha-test-adapter-*/**" + ], + "skipFiles": ["/**"] } ] }