X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=.vscode%2Flaunch.json;h=47cb8a6a112bb2611be99eade7eb98e6e8344cc4;hb=b03df580733c540eafc26269ee267b675e6b4ae8;hp=d89584673667e4760be43992f61254975890d798;hpb=af710091571dde895049d760a446bec35b1446e6;p=e-mobility-charging-stations-simulator.git diff --git a/.vscode/launch.json b/.vscode/launch.json index d8958467..47cb8a6a 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -9,7 +9,6 @@ "request": "launch", "name": "Debug Simulator via npm", "cwd": "${workspaceFolder}", - "preLaunchTask": "Build", "runtimeExecutable": "npm", "runtimeArgs": ["run-script", "start:debug"], "skipFiles": ["/**"], @@ -24,6 +23,20 @@ "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": ["/**"] } ] }