Skip to content

Commit e78ed85

Browse files
author
Akos Kitta
committed
[win]: Launch config fixes for Windows.
It is a workaround for eclipse-theia/theia#3590 Signed-off-by: Akos Kitta <kittaakos@typefox.io>
1 parent 9bc520c commit e78ed85

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.vscode/launch.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
"name": "App (Electron)",
1111
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
1212
"windows": {
13-
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
13+
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd",
14+
"env": {
15+
"NODE_ENV": "development",
16+
"NODE_PRESERVE_SYMLINKS": "1"
17+
}
1418
},
1519
"program": "${workspaceRoot}/electron-app/src-gen/frontend/electron-main.js",
1620
"protocol": "inspector",
@@ -47,6 +51,12 @@
4751
"--no-cluster",
4852
"--no-app-auto-install"
4953
],
54+
"windows": {
55+
"env": {
56+
"NODE_ENV": "development",
57+
"NODE_PRESERVE_SYMLINKS": "1"
58+
}
59+
},
5060
"env": {
5161
"NODE_ENV": "development"
5262
},

0 commit comments

Comments
 (0)