mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-12-24 19:36:11 +08:00
40 lines
915 B
JSON
40 lines
915 B
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Debug Main Process",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"cwd": "${workspaceRoot}",
|
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite.cmd"
|
|
},
|
|
"runtimeArgs": ["--sourcemap"],
|
|
"env": {
|
|
"REMOTE_DEBUGGING_PORT": "9222"
|
|
}
|
|
},
|
|
{
|
|
"name": "Debug Renderer Process",
|
|
"port": 9222,
|
|
"request": "attach",
|
|
"type": "chrome",
|
|
"webRoot": "${workspaceFolder}/src/renderer",
|
|
"timeout": 60000,
|
|
"presentation": {
|
|
"hidden": true
|
|
}
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Debug All",
|
|
"configurations": ["Debug Main Process", "Debug Renderer Process"],
|
|
"presentation": {
|
|
"order": 1
|
|
}
|
|
}
|
|
]
|
|
}
|