You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
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..
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: