38 lines
894 B
JSON
38 lines
894 B
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Electron: Debug Main",
|
|
"type": "pwa-node",
|
|
"request": "launch",
|
|
"cwd": "${workspaceFolder}",
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
|
|
},
|
|
"runtimeArgs": [
|
|
"--remote-debugging-port=9223",
|
|
"."
|
|
],
|
|
"outputCapture": "std"
|
|
},
|
|
{
|
|
"name": "Electron: Attach Renderer",
|
|
"type": "chrome",
|
|
"request": "attach",
|
|
"port": 9223,
|
|
"webRoot": "${workspaceFolder}",
|
|
"timeout": 30000
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Electron: Debug All",
|
|
"configurations": [
|
|
"Electron: Debug Main",
|
|
"Electron: Attach Renderer"
|
|
]
|
|
}
|
|
]
|
|
}
|