X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.vscode%2Flaunch.json;h=5c8aa82b4f96dcd045bf6d9fc96aa11a2422d5d1;hb=7d75bee1fb4f5946cba9bd453604ae9c359595c1;hp=5bdb6a1d003d3dc4bf8945d3e4f7b0992a65c731;hpb=44b5e61d0ea44bef1601b77805cc6360363f88db;p=e-mobility-charging-stations-simulator.git diff --git a/.vscode/launch.json b/.vscode/launch.json index 5bdb6a1d..5c8aa82b 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,16 +5,34 @@ "version": "0.2.0", "configurations": [ { - "type": "node", + "type": "pwa-node", "request": "launch", - "name": "Debug Program via npm", + "name": "Debug Simulator via npm", + "cwd": "${workspaceFolder}", + "preLaunchTask": "Build", + "runtimeExecutable": "npm", + "runtimeArgs": [ + "run-script", + "start:debug" + ], + "skipFiles": [ + "/**" + ], + "stopOnEntry": true + }, + { + "type": "pwa-node", + "request": "launch", + "name": "Debug Simulator Development Build via npm", "cwd": "${workspaceFolder}", "runtimeExecutable": "npm", "runtimeArgs": [ "run-script", "start:dev:debug" ], - "port": 9229, + "skipFiles": [ + "/**" + ], "stopOnEntry": true } ]