2018-04-14 19:14:49 +00:00
|
|
|
{
|
|
|
|
// 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": [
|
|
|
|
{
|
2019-12-12 17:37:43 +00:00
|
|
|
"name": "Electron: Main",
|
2018-04-14 19:14:49 +00:00
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2019-12-12 17:37:43 +00:00
|
|
|
"protocol": "inspector",
|
|
|
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
|
|
|
|
"windows": {
|
|
|
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
|
|
|
|
},
|
|
|
|
"preLaunchTask": "electron-debug",
|
|
|
|
"args": [
|
|
|
|
"--remote-debugging-port=9223",
|
|
|
|
"./dist_electron"
|
|
|
|
],
|
|
|
|
"outFiles": [
|
|
|
|
"${workspaceFolder}/dist_electron/**/*.js"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Electron: Renderer",
|
|
|
|
"type": "chrome",
|
|
|
|
"request": "attach",
|
|
|
|
"port": 9223,
|
|
|
|
"urlFilter": "http://localhost:*",
|
|
|
|
"timeout": 30000,
|
|
|
|
"webRoot": "${workspaceFolder}/src",
|
|
|
|
"sourceMapPathOverrides": {
|
|
|
|
"webpack:///./src/*": "${webRoot}/*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"compounds": [
|
|
|
|
{
|
|
|
|
"name": "Electron: All",
|
|
|
|
"configurations": [
|
|
|
|
"Electron: Main",
|
|
|
|
"Electron: Renderer"
|
|
|
|
]
|
2018-04-14 19:14:49 +00:00
|
|
|
}
|
|
|
|
]
|
2019-12-12 17:37:43 +00:00
|
|
|
}
|