worker: improve JS-side debugging
Do not print debug messages that indicate that a stdio stream
has drained; because util.debuglog()
uses console.log
, which
in turn uses stdio streams, this would otherwise have lead to an
endless loop.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines