Skip to content

Commit

Permalink
fix: Make services load before renderer data
Browse files Browse the repository at this point in the history
feat: Add debugging
  • Loading branch information
colin969 committed Apr 1, 2024
1 parent 8e7f2bc commit 0228830
Show file tree
Hide file tree
Showing 6 changed files with 307 additions and 172 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ npm-debug.log.*
# Visual Studio Code
/.vscode
/.vs
!/.vscode/launch.json

# JetBrains
/.idea
Expand Down
38 changes: 38 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Electron: Main",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"autoAttachChildProcesses": true,
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
},
"args" : [
"--remote-debugging-port=9223",
"."
],
"outputCapture": "std"
},
{
"name": "Electron: Renderer",
"type": "chrome",
"request": "attach",
"port": 9223,
"webRoot": "${workspaceFolder}",
"timeout": 30000
}
],
"compounds": [
{
"name": "Electron: All",
"configurations": [
"Electron: Main",
"Electron: Renderer"
]
}
]
}
Loading

0 comments on commit 0228830

Please sign in to comment.