|
|
@@ -136,10 +136,10 @@ Paste the following into `.vscode/launch.json`
|
|
|
"name": "Debug Main Process",
|
|
|
"type": "node",
|
|
|
"request": "launch",
|
|
|
- "cwd": "${workspaceRoot}",
|
|
|
- "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
|
|
|
+ "cwd": "${workspaceFolder}",
|
|
|
+ "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
|
|
|
"windows": {
|
|
|
- "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
|
|
|
+ "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
|
|
|
},
|
|
|
"args": ["."],
|
|
|
"console": "integratedTerminal",
|
|
|
@@ -149,15 +149,15 @@ Paste the following into `.vscode/launch.json`
|
|
|
"name": "Debug Renderer Process",
|
|
|
"type": "chrome",
|
|
|
"request": "launch",
|
|
|
- "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
|
|
|
+ "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
|
|
|
"windows": {
|
|
|
- "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
|
|
|
+ "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
|
|
|
},
|
|
|
"runtimeArgs": [
|
|
|
- "${workspaceRoot}/.",
|
|
|
+ "${workspaceFolder}/.",
|
|
|
"--remote-debugging-port=9222"
|
|
|
],
|
|
|
- "webRoot": "${workspaceRoot}"
|
|
|
+ "webRoot": "${workspaceFolder}"
|
|
|
}
|
|
|
]
|
|
|
}
|