From d0c84cbb9f6a13100a5653546f7f7546b001b1d4 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Wed, 9 Mar 2022 17:12:53 -0600 Subject: [PATCH] vscode: add debug config to attach to process This is useful for debugging rouge tests. --- .vscode/launch.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 5d020bdc..0a81990a 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -25,6 +25,13 @@ "protocol": "inspector", "console": "integratedTerminal", "internalConsoleOptions": "neverOpen" + }, + { + "name": "Attach by Process ID", + "processId": "${command:PickProcess}", + "request": "attach", + "skipFiles": ["/**"], + "type": "pwa-node" } ] }