diff options
-rw-r--r-- | .vscode/launch.json | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..0d56ffe --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,35 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Debug Main Process", + "type": "node", + "request": "launch", + "cwd": "${workspaceFolder}/desktop", + "runtimeExecutable": "${workspaceFolder}/desktop/node_modules/.bin/electron", + "windows": { + "runtimeExecutable": "${workspaceFolder}/desktop/node_modules/.bin/electron.cmd" + }, + "args": ["."], + "outputCapture": "std", + "sourceMaps": true + }, + { + "name": "Debug Renderer Process", + "type": "chrome", + "request": "launch", + "runtimeExecutable": "${workspaceRoot}/desktop/node_modules/.bin/electron", + "windows": { + "runtimeExecutable": "${workspaceRoot}/desktop/node_modules/.bin/electron.cmd" + }, + "runtimeArgs": [ + "${workspaceRoot}/desktop/main.js", + "--remote-debugging-port=9222" + ], + "webRoot": "${workspaceRoot}/desktop/" + } + ] +} |