Refine condition on CI jobs
[e-mobility-charging-stations-simulator.git] / .vscode / launch.json
index 046c824677525fab70737a385d5ceb1535523374..d89584673667e4760be43992f61254975890d798 100644 (file)
@@ -5,18 +5,24 @@
   "version": "0.2.0",
   "configurations": [
     {
-      "type": "pwa-node",
+      "type": "node",
       "request": "launch",
-      "name": "Debug Program via npm",
+      "name": "Debug Simulator via npm",
       "cwd": "${workspaceFolder}",
+      "preLaunchTask": "Build",
       "runtimeExecutable": "npm",
-      "runtimeArgs": [
-        "run-script",
-        "start:dev:debug"
-      ],
-      "skipFiles": [
-        "<node_internals>/**"
-      ],
+      "runtimeArgs": ["run-script", "start:debug"],
+      "skipFiles": ["<node_internals>/**"],
+      "stopOnEntry": true
+    },
+    {
+      "type": "node",
+      "request": "launch",
+      "name": "Debug Simulator Development Build via npm",
+      "cwd": "${workspaceFolder}",
+      "runtimeExecutable": "npm",
+      "runtimeArgs": ["run-script", "start:dev:debug"],
+      "skipFiles": ["<node_internals>/**"],
       "stopOnEntry": true
     }
   ]