util: make debuglog show up in --inspect logs
This makes util.debuglog()
show up in the inspector console under the debug
level.
@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 console
currently does but it only does so if the specific debuglog
set is enabled.