diff --git a/.vscode/launch.json b/.vscode/launch.json index df5aedd1c04..3cd5834e368 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -6,6 +6,7 @@ "type": "node", "request": "launch", "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", + "runtimeExecutable": "${execPath}", "stopOnEntry": false, "args": [ "--timeout", @@ -13,7 +14,9 @@ ], "cwd": "${workspaceRoot}", "runtimeArgs": [], - "env": {}, + "env": { + "ELECTRON_RUN_AS_NODE": "true" + }, "sourceMaps": true, "outDir": "${workspaceRoot}/out" },