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

Add --inspect-brk-electron #2342

Closed
3 tasks done
knownasilya opened this issue Jun 23, 2021 · 0 comments · Fixed by #1328
Closed
3 tasks done

Add --inspect-brk-electron #2342

knownasilya opened this issue Jun 23, 2021 · 0 comments · Fixed by #1328

Comments

@knownasilya
Copy link

Preflight Checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem Description

The current --inspect-electron flag does not take into account electron's --inspect-brk flag, documented here: https://www.electronjs.org/docs/tutorial/debugging-main-process#--inspect-brkport

So there is no way to debug issues that might crop up on process start, making it very frustrating to debug complex issues that might occur.

Proposed Solution

Change inspect to the same syntax, --inspect/--inspect-brk and deprecate the old flag.

Alternatives Considered

Add another flag --inspect-brk-electron.

@MarshallOfSound MarshallOfSound changed the title --inspect-brk missing in cli flags for start Add --inspect-brk-electron Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant