It was never documented and was supposed to be internal.
Used at node.js#L164.
lets discuss here
I'm not quite sure what's going on with the «won't fix»/reopening/renaming and the proposed discussion, but I do have a quick question — does that line get called for a significant amount of debug users or not?
@ChALkeR We're going to remove the offending code. Please see #406.
@TooTallNate Thanks. Could you clarify for what usecases was that line called? Only when DEBUG_FD was set to something other than 1 and 2, or for something even more specific?
Correct, only when DEBUG_FD was something other than 1 or 2, which was a very low number people (in any...). I've never used it.
@ChALkeR That said, even though debug no longer will use createWritableStdioStream(), it would be nice if Node.js exposed that kind of thing for other use-cases.
Gonna close this btw, since the relevant PRs have been merged at this point.
Sgtm
Most helpful comment
@ChALkeR We're going to remove the offending code. Please see #406.