DEBUG_FD being defined in nodes process.env, v7 deprecated vs

where can I stop the IDE from defining DEBUG_FD, not a huge deal if I cant, just very annoying using eslint with it throwing this warning everywhere in the event logs. 


WebStorm 2016.3.2
Build #WS-163.9166.30, built on December 12, 2016
JRE: 1.8.0_112-release-408-b2 x86
JVM: OpenJDK Server VM by JetBrains s.r.o


WebStorm itself doesn't define this variable... Are you using visionmedia? See


No it definitely is WebStorm or something web storm uses,

running this (nothing else) "console.log(`DEBUG_FD: ${process.env.DEBUG_FD} type:(${ typeof process.env.DEBUG_FD})`);" in WebStorm DEBUG_FD = 1, in a cmd console or any other IDE that supports node its undefined.


and yes visionmedia is the module that produces the warning, but I want WebStorm to not define DEBUG_FD, not visionmedia to fix the warning.


I checked and yes, indeed it's set to 1 in to redirect debug output to stdout; in WebStorm node.js console, stderr output can't be colored.

This variable will be removed in 2017.1 - with the consequence of losing debug output coloring


it is planned for the end of March


I've just opened a PR to fix that issue with debug package. hoping maintainers accept that :))


Please sign in to leave a comment.