From faee13d4dea8911e9160f23f534df7c5ae43bcd9 Mon Sep 17 00:00:00 2001 From: Alex Culliere Date: Thu, 4 Mar 2021 19:25:16 +0200 Subject: [PATCH] Add launch configuration for debugging main process Signed-off-by: Alex Culliere --- .vscode/launch.json | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 35f7a0142b..42d052285d 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,11 +5,23 @@ "version": "0.2.0", "configurations": [ { + "name": "Main Process", + "type": "node", + "request": "launch", + "cwd": "${workspaceFolder}", + "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron", + "windows": { + "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd" + }, + "args" : ["."], + "outputCapture": "std" + }, + { + "name": "Integration Tests", "type": "node", "request": "launch", - "name": "Integration tests", "console": "externalTerminal", "runtimeArgs": ["${workspaceRoot}/node_modules/.bin/jest", "--runInBand", "integration"], - } + }, ] }