How to see Node's Logger.debug() printouts in the console Follow
I'm writing a Node.js program. I see that some Logger.debug() statements in the imported modules, but none of those messages show up in the console when debugging. Logger.info do, but not debug, even during a debug session. Is there any way to view those printouts while debugging?
Please sign in to leave a comment.
what Node module do you use for logging? Please provide a code sample. In some loggers, messages are filtered depending on environment. If this is the case, you need setting environment variables in Node.js run configuration accordingly