Skip to content
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

Open
EnricoBeltramo opened this issue Apr 4, 2024 · 2 comments
Open

How to debug in VS code? #3593

EnricoBeltramo opened this issue Apr 4, 2024 · 2 comments
Labels

Comments

@EnricoBeltramo
Copy link

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.

@EnricoBeltramo
Copy link
Author

The problem appears only in windows, in linux works correctly. thare are some fix to apply?

@aza547
Copy link

aza547 commented May 8, 2024

I use the javascript debug terminal in VScode, works great for the main process. Not sure how to get it working for the renderer. I've managed to just get away with console.log() debugging there.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants