Apply dependencies update
[e-mobility-charging-stations-simulator.git] / .vscode / launch.json
index 5bdb6a1d003d3dc4bf8945d3e4f7b0992a65c731..5c8aa82b4f96dcd045bf6d9fc96aa11a2422d5d1 100644 (file)
@@ -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": [
+        "<node_internals>/**"
+      ],
+      "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": [
+        "<node_internals>/**"
+      ],
       "stopOnEntry": true
     }
   ]