Files
2025-05-07 19:10:48 +09:00

63 lines
1.3 KiB
JSON

{
"version": "1.0.0",
"compounds": [
{
"name": "Debug Everything",
"configurations": [
"Launch App",
"Attach to Main Process",
"Attach to Renderer Process"
],
"presentation": {
"hidden": false,
"group": "",
"order": 1
},
"stopAll": true
}
],
"configurations": [
{
"name": "Launch App",
"request": "launch",
"type": "node",
"timeout": 60000,
"runtimeArgs": [
"run-script",
"dev"
],
"cwd": "${workspaceRoot}",
"runtimeExecutable": "npm",
"console": "integratedTerminal",
"env": {
"REMOTE_DEBUGGING_PORT": "9229"
},
"outputCapture": "std",
"sourceMaps": true
},
{
"name": "Attach to Main Process",
"type": "node",
"request": "attach",
"port": 9228,
"restart": false,
"timeout": 10000,
"skipFiles": ["<node_internals>/**"],
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"outputCapture": "std",
"env": {
"REMOTE_DEBUGGING_PORT": "9228"
}
},
{
"name": "Attach to Renderer Process",
"type": "chrome",
"request": "attach",
"port": 9229,
"webRoot": "${workspaceFolder}/src/renderer",
"timeout": 30000
}
]
}