-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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
Cannot debug tests with --debug
flag
#159011
Comments
@deepak1556 Is this something that can be configured inside electron or do we need to pick another flag? |
When launching the main process, Electron gives Node.js a chance to parse the runtime arguments before the application script gets executed, the above error is actually thrown from Node.js https://github.com/nodejs/node/blob/main/src/node_options.cc#L45-L49 and we cannot configure it. Also, CLI parsing errors from Node.js will abort the process as default behavior. I recommend changing the flag name to make it future proof. |
Makes sense. Thanks for clarifying |
--debug
flagThe text was updated successfully, but these errors were encountered: