From 08cb0df5e5f288dcc707ef0d3cb390fbe8b6a166 Mon Sep 17 00:00:00 2001 From: Wolvan Date: Sat, 1 Jan 2022 04:06:02 +0100 Subject: [PATCH] Add debugging run script With this script one can easily launch a debuggable instance of the current source code and then use vscode's debugger to attach to it. --- .vscode/launch.json | 17 +++++++++++++++++ README.md | 1 + package.json | 1 + 3 files changed, 19 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..3d7c50b --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,17 @@ +{ + // 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": [ + { + "name": "Attach", + "port": 9229, + "request": "attach", + "skipFiles": [ + "/**" + ], + "type": "pwa-node" + } + ] +} \ No newline at end of file diff --git a/README.md b/README.md index e0eec84..2fd412e 100644 --- a/README.md +++ b/README.md @@ -29,4 +29,5 @@ Execute the scripts with `npm run