[win]: Launch config fixes for Windows.

It is a workaround for eclipse-theia/theia#3590

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
Akos Kitta 2019-12-10 14:37:10 +01:00
parent 9bc520ccf9
commit e78ed85761

12
.vscode/launch.json vendored
View File

@ -10,7 +10,11 @@
"name": "App (Electron)", "name": "App (Electron)",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron", "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
"windows": { "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", "program": "${workspaceRoot}/electron-app/src-gen/frontend/electron-main.js",
"protocol": "inspector", "protocol": "inspector",
@ -47,6 +51,12 @@
"--no-cluster", "--no-cluster",
"--no-app-auto-install" "--no-app-auto-install"
], ],
"windows": {
"env": {
"NODE_ENV": "development",
"NODE_PRESERVE_SYMLINKS": "1"
}
},
"env": { "env": {
"NODE_ENV": "development" "NODE_ENV": "development"
}, },