electron-vite-vue/.vscode/launch.json

45 lines
1.1 KiB
JSON
Raw Normal View History

2022-02-13 15:52:05 +08:00
{
2022-03-15 08:35:11 +08: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
2022-02-13 15:52:05 +08:00
"version": "0.2.0",
2022-03-15 08:35:11 +08:00
"compounds": [
2022-02-13 15:52:05 +08:00
{
2022-03-15 08:35:11 +08:00
"name": "Debug App",
2022-07-23 17:14:56 +08:00
"preLaunchTask": "Before Debug",
2022-03-15 08:35:11 +08:00
"configurations": [
"Debug Main Process",
"Debug Renderer Process"
2022-02-14 17:48:27 +08:00
],
2022-03-15 08:35:11 +08:00
"presentation": {
"hidden": false,
"group": "",
"order": 1
2022-02-14 17:48:27 +08:00
},
2022-03-15 08:35:11 +08:00
"stopAll": true
}
],
"configurations": [
2022-02-14 17:48:27 +08:00
{
2022-03-15 08:35:11 +08:00
"name": "Debug Main Process",
"type": "pwa-node",
2022-02-14 17:48:27 +08:00
"request": "launch",
2022-03-15 08:35:11 +08:00
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
2022-02-13 15:52:05 +08:00
"windows": {
2022-03-15 08:35:11 +08:00
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
2022-02-13 15:52:05 +08:00
},
2022-03-15 08:35:11 +08:00
"runtimeArgs": [
"--remote-debugging-port=9229",
2022-07-23 17:14:56 +08:00
"."
2022-02-14 17:48:27 +08:00
],
2022-03-15 08:35:11 +08:00
"envFile": "${workspaceFolder}/.vscode/.debug.env"
2022-02-14 17:48:27 +08:00
},
{
2022-03-15 08:35:11 +08:00
"name": "Debug Renderer Process",
"port": 9229,
"request": "attach",
"type": "pwa-chrome"
},
2022-02-13 15:52:05 +08:00
]
2022-03-15 08:35:11 +08:00
}