From e78ed857610e7ea6e1bc8192d0f9967621c1c433 Mon Sep 17 00:00:00 2001 From: Akos Kitta Date: Tue, 10 Dec 2019 14:37:10 +0100 Subject: [PATCH] [win]: Launch config fixes for Windows. It is a workaround for eclipse-theia/theia#3590 Signed-off-by: Akos Kitta --- .vscode/launch.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index b3c25c0e..f6c7a660 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,7 +10,11 @@ "name": "App (Electron)", "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron", "windows": { - "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd" + "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd", + "env": { + "NODE_ENV": "development", + "NODE_PRESERVE_SYMLINKS": "1" + } }, "program": "${workspaceRoot}/electron-app/src-gen/frontend/electron-main.js", "protocol": "inspector", @@ -47,6 +51,12 @@ "--no-cluster", "--no-app-auto-install" ], + "windows": { + "env": { + "NODE_ENV": "development", + "NODE_PRESERVE_SYMLINKS": "1" + } + }, "env": { "NODE_ENV": "development" },