Debug: RFC: 3.0 stdout moved off of APIs that are pending removal

Created on 14 May 2016  Â·  8Comments  Â·  Source: visionmedia/debug

It was never documented and was supposed to be internal.
Used at node.js#L164.

Refs: https://github.com/nodejs/node/pull/6749

discussion

Most helpful comment

@ChALkeR We're going to remove the offending code. Please see #406.

All 8 comments

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

Was this page helpful?
0 / 5 - 0 ratings