X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.vscode%2Flaunch.json;h=5c8aa82b4f96dcd045bf6d9fc96aa11a2422d5d1;hb=920c567fecd8ca4681c98de6701bab66271b5c05;hp=ede98f772692ee0fff06e22746e3df58dbfd5023;hpb=7dde0b73302613be132c41e1f28a42de555dc2b6;p=e-mobility-charging-stations-simulator.git diff --git a/.vscode/launch.json b/.vscode/launch.json index ede98f77..5c8aa82b 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,19 +1,39 @@ { - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "type": "node", - "request": "launch", - "name": "Launch Program via npm", - "cwd": "${workspaceFolder}", - "runtimeExecutable": "npm", - "runtimeArgs": [ - "run-script", "start:debug" - ], - "port": 9229 - } - ] -} \ No newline at end of file + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "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", + "request": "launch", + "name": "Debug Simulator Development Build via npm", + "cwd": "${workspaceFolder}", + "runtimeExecutable": "npm", + "runtimeArgs": [ + "run-script", + "start:dev:debug" + ], + "skipFiles": [ + "/**" + ], + "stopOnEntry": true + } + ] +}