Add UTs debugging configuration
[e-mobility-charging-stations-simulator.git] / .vscode / launch.json
CommitLineData
7dde0b73 1{
44b5e61d
JB
2 // Use IntelliSense to learn about possible attributes.
3 // Hover to view descriptions of existing attributes.
4 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5 "version": "0.2.0",
6 "configurations": [
7 {
af710091 8 "type": "node",
44b5e61d 9 "request": "launch",
fc201913 10 "name": "Debug Simulator via npm",
44b5e61d 11 "cwd": "${workspaceFolder}",
bf1866b2 12 "preLaunchTask": "Build",
44b5e61d 13 "runtimeExecutable": "npm",
e7aeea18
JB
14 "runtimeArgs": ["run-script", "start:debug"],
15 "skipFiles": ["<node_internals>/**"],
44b5e61d 16 "stopOnEntry": true
fc201913
JB
17 },
18 {
af710091 19 "type": "node",
fc201913
JB
20 "request": "launch",
21 "name": "Debug Simulator Development Build via npm",
22 "cwd": "${workspaceFolder}",
23 "runtimeExecutable": "npm",
e7aeea18
JB
24 "runtimeArgs": ["run-script", "start:dev:debug"],
25 "skipFiles": ["<node_internals>/**"],
fc201913 26 "stopOnEntry": true
3e985d18
JB
27 },
28 {
29 "name": "Debug Simulator Unit Tests",
30 "type": "node",
31 "request": "attach",
32 "port": 9229,
33 "continueOnAttach": true,
34 "autoAttachChildProcesses": false,
35 "timeout": 30000,
36 "resolveSourceMapLocations": [
37 "!**/node_modules/**",
38 "!**/.vscode/extensions/hbenl.vscode-mocha-test-adapter-*/**"
39 ],
40 "skipFiles": ["<node_internals>/**"]
44b5e61d
JB
41 }
42 ]
84393381 43}