2017-11-27 19:21:12 -05:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
2018-01-12 04:24:07 -05:00
|
|
|
{
|
2022-06-12 08:20:08 -04:00
|
|
|
"name": "Electron: Main",
|
2018-01-12 04:24:07 -05:00
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2022-06-12 08:20:08 -04:00
|
|
|
"protocol": "inspector",
|
2018-01-12 04:24:07 -05:00
|
|
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
|
2022-06-12 08:20:08 -04:00
|
|
|
"windows": {
|
|
|
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
|
|
|
|
},
|
|
|
|
"preLaunchTask": "electron-debug",
|
|
|
|
"args": ["--remote-debugging-port=9223", "./dist_electron"],
|
|
|
|
"outFiles": ["${workspaceFolder}/dist_electron/**/*.js"]
|
2018-01-12 04:24:07 -05:00
|
|
|
},
|
2017-11-27 19:21:12 -05:00
|
|
|
{
|
2022-06-12 08:20:08 -04:00
|
|
|
"name": "Electron: Renderer",
|
|
|
|
"type": "chrome",
|
2017-11-27 19:21:12 -05:00
|
|
|
"request": "attach",
|
2022-06-12 08:20:08 -04:00
|
|
|
"port": 9223,
|
|
|
|
"urlFilter": "http://localhost:*",
|
|
|
|
"timeout": 30000,
|
|
|
|
"webRoot": "${workspaceFolder}/src",
|
|
|
|
"sourceMapPathOverrides": {
|
|
|
|
"webpack:///./src/*": "${webRoot}/*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"compounds": [
|
|
|
|
{
|
|
|
|
"name": "Electron: All",
|
|
|
|
"configurations": ["Electron: Main", "Electron: Renderer"]
|
2017-11-27 19:21:12 -05:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|