mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-19 11:56:36 +08:00
47 lines
1.2 KiB
JSON
47 lines
1.2 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",
|
|
"compounds": [
|
|
{
|
|
"name": "Debug App",
|
|
"preLaunchTask": "Before Debug",
|
|
"configurations": [
|
|
"Debug Main Process",
|
|
"Debug Renderer Process"
|
|
],
|
|
"presentation": {
|
|
"hidden": false,
|
|
"group": "",
|
|
"order": 1
|
|
},
|
|
"stopAll": true
|
|
}
|
|
],
|
|
"configurations": [
|
|
{
|
|
"name": "Debug Main Process",
|
|
"type": "pwa-node",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
|
|
},
|
|
"runtimeArgs": [
|
|
"--remote-debugging-port=9229",
|
|
"."
|
|
],
|
|
"envFile": "${workspaceFolder}/.vscode/.debug.env",
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"name": "Debug Renderer Process",
|
|
"port": 9229,
|
|
"request": "attach",
|
|
"type": "pwa-chrome",
|
|
"timeout": 60000
|
|
},
|
|
]
|
|
}
|