From 1f3a514c9062d74c2a96c54ec37eecc6d0e93105 Mon Sep 17 00:00:00 2001 From: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com> Date: Mon, 1 May 2023 20:27:37 -0700 Subject: [PATCH] Add launch config for VS Code selfhost test provider (#22913) --- .vscode/launch.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 54873fd93e..479d4863bb 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -268,6 +268,25 @@ "group": "2_attach" } }, + { + /* Added for "VS Code Selfhost Test Provider" extension support */ + "type": "pwa-chrome", + "request": "attach", + "name": "Attach to VS Code", + "browserAttachLocation": "workspace", + "port": 9222, + "outFiles": [ + "${workspaceFolder}/out/**/*.js" + ], + "presentation": { + "group": "2_attach", + "hidden": true + }, + "resolveSourceMapLocations": [ + "${workspaceFolder}/out/**/*.js" + ], + "perScriptSourcemaps": "yes" + }, { "type": "node", "request": "launch",