mirror of
https://github.com/frappe/books.git
synced 2024-12-24 20:00:29 +00:00
e8370aa8ab
- Electron build using vue-cli-plugin-electron-builder
48 lines
1.4 KiB
JSON
48 lines
1.4 KiB
JSON
{
|
|
// 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": [
|
|
{
|
|
"name": "Electron: Main",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"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"
|
|
]
|
|
}
|
|
]
|
|
}
|