Debugger Console is empty for NodeJS Winston and NestJS logs

已回答

Hi, I encountered a problem that my logs made through Winston in NodeJS are not displayed in the Debugger Console. Also, the standard NestJS logs are not displayed either.
I have had this problem for a long time (more than a year), but before I thought that I had broken something in the configs, but the search for a solution did not yield results.
But standard logs made through console.log are displayed normally.

Here is an example of logs via Winston

Here is an example of NestJS logs

At the same time, the Debugger Console looks like this

Please let me know if there is anything I can do to fix this. Thanks

1

Printing Winston logger.log() and logger.info() is not supported currently in Debugger Console. We have a feature request open for it on our issue tracker: https://youtrack.jetbrains.com/issue/WEB-48474. Unfortunately, it is not implemented yet. You can upvote to increase its popularity and follow for progress updates.

0

请先登录再写评论。