2021-06-28 01:29:43 +08:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Electron: Main",
|
|
|
|
"protocol": "inspector",
|
|
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
|
|
|
|
"env": {
|
2021-06-30 05:57:04 +08:00
|
|
|
"TABBY_DEV": "1"
|
2021-06-28 01:29:43 +08:00
|
|
|
},
|
|
|
|
"runtimeArgs": [
|
|
|
|
"--remote-debugging-port=9223",
|
|
|
|
"app"
|
|
|
|
],
|
|
|
|
"windows": {
|
|
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Electron: Renderer",
|
|
|
|
"type": "pwa-chrome",
|
|
|
|
"request": "attach",
|
|
|
|
"port": 9223,
|
|
|
|
"webRoot": "${workspaceFolder}",
|
|
|
|
"timeout": 30000
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"compounds": [
|
|
|
|
{
|
|
|
|
"name": "Electron: All",
|
|
|
|
"configurations": [
|
|
|
|
"Electron: Main",
|
|
|
|
"Electron: Renderer"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|