Not sure what the issue has to do with IDEA - it comes from visionmedia where this property is deprecated and is going to be removed.

Not sure what they mean saying that IDEA doesn't support colors on stderr... Actually stderr output is colored according to 'Error output' preferences (Preferences | Editor | Colors & Fonts | Console Colors, Console).

May be, the actual issue is that Node.js console in IDEA is non-tty, as node process is started with input/output streams redirection (https://youtrack.jetbrains.com/issue/WEB-1933).


The visionmedia debug module correctly reports a deprecation warning whenever process.env.DEBUG_FD is used. The reason this is an IDEA issue is because WebStorm sets the deprecated DEBUG_FD environment variable before running a NodeJS configuration.

Expect a lot of traffic on this because the warning comes from the debug module, a dependency of the connect module, a dependency of the express module. Everyone running an express app will see this deprecation warning when running within WebStorm, and not when running outside of WebStorm.


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


Is there any word on if or when WebStorm will be picking up this change?

I've been seeing it on every debug run, and I just picked up a new WebStorm 2017.2 EAP and it's still a problem there.



Not sure what has to be fixed on our end here... we had removed DEBUG_FD variable to get rid of the warning, but then re-added it because the problem was fixed in debug package itself - see https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000019410/comments/115000086770



Okay I see, the error is from the debug npm lib that is referenced from a few dependencies.  If you're removed your setting of the environment variable, it would seem that does indeed clear JetBrains of any further work. It does imply that someone else is setting it though, unfortunately, but that means attention on the issue should be elsewhere. Okay good, at least I know JetBrains has already done their part.


Please sign in to leave a comment.