build(deps-dev): apply updates
[e-mobility-charging-stations-simulator.git] / .vscode / launch.json
index 4f915714861392de05cf95b92e1a5cb5b05b7950..4f200ec8e7924ad1ca3b3870a11d366175fbec76 100644 (file)
@@ -1,20 +1,29 @@
 {
-    // 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,
-            "stopOnEntry": true
-        }
-    ]
+  // 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": "Debug Simulator Development Build via pnpm",
+      "cwd": "${workspaceFolder}",
+      "runtimeExecutable": "pnpm",
+      "runtimeArgs": ["run", "start:dev:debug"],
+      "skipFiles": ["<node_internals>/**"],
+      "stopOnEntry": true
+    },
+    {
+      "name": "Debug Simulator Unit Tests",
+      "type": "node",
+      "request": "attach",
+      "port": 9229,
+      "continueOnAttach": true,
+      "autoAttachChildProcesses": false,
+      "timeout": 30000,
+      "resolveSourceMapLocations": ["!**/node_modules/**"],
+      "skipFiles": ["<node_internals>/**"]
+    }
+  ]
 }