summaryrefslogtreecommitdiff
path: root/.vscode/launch.json
diff options
context:
space:
mode:
Diffstat (limited to '.vscode/launch.json')
-rw-r--r--.vscode/launch.json9
1 files changed, 7 insertions, 2 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 0edf4d8..703b4cd 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -5,11 +5,16 @@
"name": "Debug Main Process",
"type": "node",
"request": "launch",
+ "nodeVersionHint": 16,
+ "env": {
+ "PATH": "${env:PATH}:/usr/lib/sdk/node16/bin/",
+ },
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
"runtimeArgs": [
- ".",
- "--enable-logging"
+ "--enable-logging",
+ "--no-sandbox",
+ "."
],
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"