Search code examples
node.jsterminalconsolewinston

winston.debug does not show anything on terminal


I am trying to debug a nodejs library which is using winston as logger. I can see the library is using winston.debug to log something.

But when I run the app, I can see the logs from winston.info, but not winston.debug.

Any insight to get the logs displayed on the console would be appreciated.


Solution

  • I went through the same problem and one simple line intro launch.json help me.

    "outputCapture": "std"
    

    Hope i helped you, thanks!