1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-02 17:53:41 +00:00

Add Electron renderer process debug configuration

This commit is contained in:
Isaiah Inuwa
2025-11-06 14:58:12 -06:00
parent 64aa3a28e1
commit 3add3d5dde

View File

@@ -6,11 +6,28 @@
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}/build",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
"runtimeExecutable": "${workspaceRoot}/../../node_modules/.bin/electron",
"windows": {
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
"runtimeExecutable": "${workspaceRoot}/../../node_modules/.bin/electron.cmd"
},
"args": ["."]
"args": [".", "--remote-debugging-port=9223"]
},
{
"name": "Debug Renderer Process",
"type": "chrome",
"request": "attach",
"port": 9223,
"webRoot": "${workspaceFolder}",
"timeout": 30000,
}
],
"compounds": [
{
"name": "Debug Electron: All",
"configurations": [
"Debug Main Process",
"Debug Renderer Process"
]
}
]
}