-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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 --expose-internals
to bin/mocha
's allowed Node flags
#3045
Comments
--expose-internals
to bin/mocha
's Node flags--expose-internals
to bin/mocha
's allowed Node flags
There's no precedent for passing flags through for userland modules, though I could be mistaken. |
This is the only tool that wants the flag |
Also, |
I'd like to hold up on requesting a PR until there's some agreement about how to proceed. Ultimately, teaching developers how to use debuggers or |
Can't disagree on the value, or rather lack thereof, of |
Ah, my bad, I didn't know that was a real flag. 😛 |
anyway, agreed; I'm happy to sit on this for a bit to see how it goes. here are the docs I've added for reference |
@boneskull thanks for taking the time to write those docs! |
I built this useful snippet to run the mocha tests programmatically and uses |
outdated. |
Allow tools such as
why-is-node-running
to be used with Mocha callingmocha --expose-internals
instead ofnode --expose-internals node_modules/mocha/bin/_mocha
. Helps with #3044The text was updated successfully, but these errors were encountered: