-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to debug in VS code? #3593
Labels
Comments
The problem appears only in windows, in linux works correctly. thare are some fix to apply? |
I've had luck setting the renderer timeout in the launch.json to 30000. From observing coworkers who run *nix os's, electron significantly slower on Windows to launch, maybe the debugger needs more time to attach to chrome.. {
"name": "Electron: Renderer",
"type": "chrome",
"request": "attach",
"port": 9223,
"webRoot": "${workspaceFolder}",
"timeout": 30000
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
I would debug in VS code both main and render, what is the correct strategy?
If I start application by npm start, the application start, but not stop at breakpoints.
If I start the application with "Electron: all" configuration, the application starts and say that can't connect to port 9223. I can breakpoint main, but not render part.
The text was updated successfully, but these errors were encountered: