mirror of
https://github.com/hanzo-studio/studio-desktop.git
synced 2026-10-30 18:54:12 +00:00
* Allow vite build --watch without app launch * Use default frontend dev URL in env example * Fix regression in yarn start * Add native vscode debugging and build watch tasks * Update README with new debugging and build info * Fix app won't start in vscode debugger
35 lines
906 B
JSON
35 lines
906 B
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Electron: Main",
|
|
"autoAttachChildProcesses": true,
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
|
|
},
|
|
"runtimeArgs": ["--remote-debugging-port=9223", "."],
|
|
"env": {
|
|
"ELECTRON_ENABLE_LOGGING": "true",
|
|
"ELECTRON_ENABLE_STACK_DUMPING": "true",
|
|
"NODE_DEBUG": "true"
|
|
},
|
|
"outFiles": [
|
|
"${workspaceFolder}/.vite/**/*.js",
|
|
"${workspaceFolder}/.vite/**/*.js.map"
|
|
],
|
|
"outputCapture": "std"
|
|
},
|
|
{
|
|
"name": "Electron: Renderer",
|
|
"type": "chrome",
|
|
"request": "attach",
|
|
"port": 9223,
|
|
"webRoot": "${workspaceFolder}",
|
|
"timeout": 30000
|
|
}
|
|
]
|
|
}
|