aboutsummaryrefslogtreecommitdiffhomepage
path: root/.vscode/launch.json
diff options
context:
space:
mode:
authornjanssen <[email protected]>2020-09-24 21:39:43 +0200
committernjanssen <[email protected]>2020-09-24 21:39:43 +0200
commitfddfba6cfb7006ba77bbe5064922698a709a181b (patch)
treecb31e0ad91860412ea6d01681e7a4297a38a7d13 /.vscode/launch.json
parentd082282681e1fc6610950bac274251f5f4314745 (diff)
downloadOrca-fddfba6cfb7006ba77bbe5064922698a709a181b.tar.gz
Orca-fddfba6cfb7006ba77bbe5064922698a709a181b.zip
Added VSCode launch config for debugging the main and renderer process
Diffstat (limited to '.vscode/launch.json')
-rw-r--r--.vscode/launch.json35
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/"
+ }
+ ]
+}