CDP setBlackboxPatterns no longer applies to Node internals #50058
Labels
inspector
Issues and PRs related to the V8 inspector protocol
v8 engine
Issues and PRs related to the V8 dependency.
wrong repo
Issues that should be opened in another repository.
Version
v20.8.0
Platform
Darwin mbp.peet.io 22.6.0 Darwin Kernel Version 22.6.0: Fri Sep 15 13:39:52 PDT 2023; root:xnu-8796.141.3.700.8~1/RELEASE_X86_64 x86_64
Subsystem
inspector
What steps will reproduce the bug?
console.log('hello');\nconsole.log('goodbye');
node --inspect-brk
, and attach Chrome devtools to the process using chrome:///inspectShow Ignore List
and addnode:
to that list. This regex should match, and skip, all Node internals (via setBlackboxPattern)How often does it reproduce? Is there a required condition?
100%
What is the expected behavior? Why is that the expected behavior?
I expect the debugger to stop on the next
console.log('goodbye')
, or at least try to.What do you see instead?
The blackbox does not apply at all, and the debugger steps directly into the console call without trying to escape.
Additional information
This appears to have been broken since Node 16 in the migration to the
node:
prefixThe text was updated successfully, but these errors were encountered: