-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
fs/promises are not adhering to the "pause on uncaught exceptions" during inspect #35169
Comments
I didn't test but there's a pretty good chance #35208 fixes that. |
bnoordhuis
added
fs
Issues and PRs related to the fs subsystem / file system.
inspector
Issues and PRs related to the V8 inspector protocol
labels
Sep 15, 2020
Seems that this is still reproducible on Node v20.6.1 |
Also still reproducible on v21.4.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What steps will reproduce the bug?
Create a javascript file with the following contents:
Then run the file either in the Chrome DevTools, VSCode Tools or NDB, ensuring you have ticked the pause on exceptions and pause on uncaught exceptions button.
How often does it reproduce? Is there a required condition?
Every time
What is the expected behavior?
The debugger should pause on line 4, or perhaps an internal node script. Not sure, but it should break somewhere.
What do you see instead?
The code runs and normal, as if the pause button was never clicked.
Anything else?
When using the code below, using the promisify function from node, it works as expected.
This will pause on line 299 of the internal/util.js function.
The text was updated successfully, but these errors were encountered: