-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
create flag to trigger --inspect-brk on test runner #2177
Conversation
@adkenyon , doesn't that workaround work?
|
CI failed due to a flaky test. I've restarted the associated downstream, stay tuned. |
Haven't had the time to test @noomorph's suggestion. Hopefully will have some time by the end of the week |
@noomorph running
|
@adkenyon, okay, I see, thanks for checking. Nevertheless, I would suggest renaming
Also, please check that it works okay with multiple Jest workers because I am really not sure. If it does not, better force |
@noomorph wasn't quite ready yet. Still needed to test out the workers flag. I'll follow up if there's an issue |
@adkenyon, well, I think there's a minor issue with it when there are multiple workers — it does not really work. 😆 But does not break anything either, seemingly. I've checked manually the latter — I specified multiple workers and tried some debugging which did not work out but never crashed, so that was sufficient for me. You are welcome to submit one more PR for improving user experience, that exits with an error if you specify simultaneously multiple workers and @d4vidi , @rotemmiz , @LeoNatan any ideas what is a better behavior? |
Description:
I added a flag to allow attaching a debugger to the underlying test runner.
Usage:
Haven't updated the docs yet, I wanted to get some initial feedback before doing so.