-
-
Notifications
You must be signed in to change notification settings - Fork 45
update: add blackbox by default #99
Conversation
As discussed in WG Meeting, we don't know exactly whether that behavior is expected. Does someone have any thoughts about it? @jkrems? |
|
Removing |
|
I'm trying to figure out if this should be applied to the current 16.x implementation. I think not, but I also don't understand why it would apply to 15.x, so I'm missing some context. Can someone help me? I'd assume that stepping into the What am I misunderstanding? I'm sure the problem is with my understanding here. The current behavior seems correct to me and the behavior described here strikes me as surprising. |
|
I'm not sure if I understood your question. But, the idea with that is to avoid lookup internal by default when you are debugging. However, I have hit undefined behavior when enabling BlackBox through However, I have looked today at Google Chrome Node.js Debugger and looks like they removed the option to enable |
|
Actually, the |
|
We have discussed in the last Diagnostics WG and was defined that adding a tutorial of how to enable BlackBox script at UI and CLI will be better. Hence, I'm closing it in favor of: nodejs/diagnostics#490 |
Reference: nodejs/node#11893
This PR is only for node 15 >. (When internal modules are prefixed by
node:).Observations
Settings:
Application example:
Without this change:
On change:
Not sure if it's expected a
breakinsidenode:internal/*when the pattern^node:is passed to the blackbox script patterns, may it can be a bug inside pattern matching?cc: @nodejs/diagnostics