Improve vscode debug setup.
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 12 Feb 2021 20:27:56 +0000 (21:27 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 12 Feb 2021 20:27:56 +0000 (21:27 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.vscode/launch.json

index 5bdb6a1d003d3dc4bf8945d3e4f7b0992a65c731..046c824677525fab70737a385d5ceb1535523374 100644 (file)
@@ -5,7 +5,7 @@
   "version": "0.2.0",
   "configurations": [
     {
-      "type": "node",
+      "type": "pwa-node",
       "request": "launch",
       "name": "Debug Program via npm",
       "cwd": "${workspaceFolder}",
@@ -14,7 +14,9 @@
         "run-script",
         "start:dev:debug"
       ],
-      "port": 9229,
+      "skipFiles": [
+        "<node_internals>/**"
+      ],
       "stopOnEntry": true
     }
   ]