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-10-03 09:16:14 +08:00
|
|
|
"envFile": "${workspaceFolder}/.vscode/.debug.env",
|
|
|
|
"console": "integratedTerminal"
|
2022-02-14 17:48:27 +08:00
|
|
|
},
|
|
|
|
{
|
2022-03-15 08:35:11 +08:00
|
|
|
"name": "Debug Renderer Process",
|
|
|
|
"port": 9229,
|
|
|
|
"request": "attach",
|
2022-08-06 09:53:48 +08:00
|
|
|
"type": "pwa-chrome",
|
2022-11-04 22:30:42 +08:00
|
|
|
"timeout": 60000,
|
|
|
|
"skipFiles": [
|
|
|
|
"<node_internals>/**",
|
|
|
|
"${workspaceRoot}/node_modules/**",
|
|
|
|
"${workspaceRoot}/dist-electron/**",
|
|
|
|
// Skip files in host(VITE_DEV_SERVER_URL)
|
|
|
|
"http://127.0.0.1:3344/**"
|
|
|
|
]
|
2022-03-15 08:35:11 +08:00
|
|
|
},
|
2022-02-13 15:52:05 +08:00
|
|
|
]
|
2022-03-15 08:35:11 +08:00
|
|
|
}
|