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

Issues debugging #28

Closed
Dunkhan opened this issue Jul 18, 2022 · 2 comments
Closed

Issues debugging #28

Dunkhan opened this issue Jul 18, 2022 · 2 comments
Labels
support Questions

Comments

@Dunkhan
Copy link
Contributor

Dunkhan commented Jul 18, 2022

I was planning to contribute to this project. I looked into fixing the bugs I reported my self first. Unfortunately I have been unable to get any breakpoints in any debugger working, and I also can't get any console output to appear. This makes bug fixing impossible. In addition it appears I have to rebuild the whole application to see the results of even minor changes, and it re-reads my player log every time so even changing a short text somewhere takes around 15 minutes.

Can you tell me how you deal with these issues? What IDE do you use (I was trying with webstorm)?

@Dunkhan
Copy link
Contributor Author

Dunkhan commented Jul 20, 2022

I just realised, I can fix most of the issues I am interested in by just running the web version locally and ignoring the electron build.
I would still like to hear any advice anyone has on this because there are some issues with the overlays on linux and that might be hard to test on the web version, but this is low priority right now.

@Manwe-777
Copy link
Contributor

Manwe-777 commented Jul 22, 2022

Hi @Dunkhan ! sorry for the late response, if you are still struggling with this, using npm run start has HMR enabled, just like web. For debugging when you are in the desktop app, just do Alt + Shift + D, this should bring up the dev consoles for background and renderer processes in separate windows.

Hope this helps!

@riQQ riQQ added the support Questions label Jul 22, 2022
@Manwe-777 Manwe-777 pinned this issue Jul 29, 2022
@Dunkhan Dunkhan closed this as completed Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Questions
Projects
None yet
Development

No branches or pull requests

3 participants