From 29258c316815e5122832ffaa2dda2a8a65efd11a Mon Sep 17 00:00:00 2001 From: Anton Nikolaev Date: Mon, 10 Feb 2020 06:25:21 -0800 Subject: [PATCH] VSCode task to attach to both Main and Renderer processes simultaneously Summary: The task for attaching to both Main and Renderer processes makes debugging in certain scenarios easier. Reviewed By: passy Differential Revision: D19813764 fbshipit-source-id: d81e07e5fb135b5bb904a3f6532347eca1a9bbb1 --- .vscode/launch.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 2e47e2a20..c1d4d7d18 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -22,5 +22,14 @@ "program": "${workspaceFolder}/node_modules/.bin/jest", "args": ["--runInBand", "${relativeFile}"] } - ] + ], + "compounds": [ + { + "name": "Attach to All", + "configurations": [ + "Attach to Running Main", + "Attach to Running Renderer" + ] + } +] }