Files
bodyshop-desktop/.vscode/launch.json
2025-05-15 14:29:30 -07:00

66 lines
1.6 KiB
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"
},
"experimentalNetworking": "off"
},
{
"name": "Debug Renderer Process",
"port": 9222,
"request": "attach",
"type": "chrome",
"webRoot": "${workspaceFolder}/src/renderer",
"timeout": 60000,
"presentation": {
"hidden": true
}
},
{
"name": "Debug Main Process w/ Hot Reloading",
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite",
"windows": {
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite.cmd"
},
"runtimeArgs": ["--sourcemap", "--watch"],
"env": {
"REMOTE_DEBUGGING_PORT": "9222"
}
}
],
"compounds": [
{
"name": "Debug All",
"configurations": ["Debug Main Process", "Debug Renderer Process"],
"presentation": {
"order": 1
}
},
{
"name": "Debug All (Hot Reload)",
"configurations": [
"Debug Main Process w/ Hot Reloading",
"Debug Renderer Process"
],
"presentation": {
"order": 1
}
}
]
}