Make the build app self contained.
[e-mobility-charging-stations-simulator.git] / .vscode / launch.json
index 5bdb6a1d003d3dc4bf8945d3e4f7b0992a65c731..8c879c6e4f77d876ccfbf85511fcdd93db9dbf85 100644 (file)
@@ -5,16 +5,19 @@
   "version": "0.2.0",
   "configurations": [
     {
-      "type": "node",
+      "type": "pwa-node",
       "request": "launch",
       "name": "Debug Program via npm",
       "cwd": "${workspaceFolder}",
+      "preLaunchTask": "Build",
       "runtimeExecutable": "npm",
       "runtimeArgs": [
         "run-script",
-        "start:dev:debug"
+        "start:debug"
+      ],
+      "skipFiles": [
+        "<node_internals>/**"
       ],
-      "port": 9229,
       "stopOnEntry": true
     }
   ]