-
Notifications
You must be signed in to change notification settings - Fork 26
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
Doesn't work with the ava test runner #20
Comments
After a quick review, looks like ava is using fork under the hood. There is a small chance it is possible to support child process, but its fairly hacky (see #5). Thanks for the report. |
Perhaps it could be ava's job to provide an API for debugging child processes. |
But why stop there? Perhaps node could provide such an API. |
Hmmm.. I don't see a clear path for ava to provide an API for this. Possibly at a lower level node would be able to expose easier hooks, but its not really clear to me. I am going to close this particular issue. If you want to follow any progress inspect-process is capable of making, see #5. |
FWIW it works fine with AVA when running it via the profile file (and it should work with the
|
Thanks @gillesdemey @mightyiam! |
https://github.com/avajs/ava
I'm using
inspect ava --serial some-test-file.js
.I've just tried debugging a trivial file as a sanity check and it worked.
Perhaps ava is using child processes with the
--serial
option, as well...The text was updated successfully, but these errors were encountered: