X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.vscode%2Flaunch.json;h=47cb8a6a112bb2611be99eade7eb98e6e8344cc4;hb=b03df580733c540eafc26269ee267b675e6b4ae8;hp=e8114e91ee9ddd1d6edd267ae445b675318045c0;hpb=e7aeea18e189dd087c8f951cf77a253e2818ae90;p=e-mobility-charging-stations-simulator.git diff --git a/.vscode/launch.json b/.vscode/launch.json index e8114e91..47cb8a6a 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,18 +5,17 @@ "version": "0.2.0", "configurations": [ { - "type": "pwa-node", + "type": "node", "request": "launch", "name": "Debug Simulator via npm", "cwd": "${workspaceFolder}", - "preLaunchTask": "Build", "runtimeExecutable": "npm", "runtimeArgs": ["run-script", "start:debug"], "skipFiles": ["/**"], "stopOnEntry": true }, { - "type": "pwa-node", + "type": "node", "request": "launch", "name": "Debug Simulator Development Build via npm", "cwd": "${workspaceFolder}", @@ -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": ["/**"] } ] }