X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=.vscode%2Flaunch.json;h=27d7900e69da361b680fc2eacc6819b5cf601fbf;hb=12f02afa1671f651f9269343dd83f36a624d3812;hp=e8114e91ee9ddd1d6edd267ae445b675318045c0;hpb=e7aeea18e189dd087c8f951cf77a253e2818ae90;p=e-mobility-charging-stations-simulator.git diff --git a/.vscode/launch.json b/.vscode/launch.json index e8114e91..27d7900e 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,18 +5,7 @@ "version": "0.2.0", "configurations": [ { - "type": "pwa-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 +13,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": ["/**"] } ] }