util: make debuglog show up in --inspect logs#41884
util: make debuglog show up in --inspect logs#41884bmeck wants to merge 7 commits intonodejs:mainfrom
Conversation
|
Review requested:
|
joyeecheung
left a comment
There was a problem hiding this comment.
Removing the TODO LGTM (it already doesn't matter now that we snapshot the console methods) , but I have a question regarding the implementation of the wrapping
af442bd to
fdb31dd
Compare
|
@addaleax I've pulled out the console changes for now. Would it be fine to have these as a separate PR still? |
addaleax
left a comment
There was a problem hiding this comment.
Would it be fine to have these as a separate PR still?
I think so -- it's definitely a breaking change, though. (This PR doesn't need to be semver-major anymore imo.)
|
@bmeck Ping. Are we planning to get this to a closure? |
|
This needs a rebase. |
|
This issue/PR was marked as stalled, it will be automatically closed in 30 days. If it should remain open, please leave a comment explaining why it should remain open. |
|
Closing this because it has stalled. Feel free to reopen if this issue/PR is still relevant, or to ping the collaborator who labelled it stalled if you have any questions. |
This makes
util.debuglog()show up in the inspector console under thedebuglevel.@joyeecheung I've removed the TODO comment since it loses data prior to connection of an inspector which is a UX degradation from the existing situation and doesn't match other environments for JS.
This does cause the same kind of memory leak while retaining messages as
consolecurrently does but it only does so if the specificdebuglogset is enabled.