Dan
Dan

Reputation: 516

Show all sections for node util.debuglog

Is there a way to show all sections of Node.js built-in uitl.debuglog?

Let's say I want to debuglog between multiple files covering different aspects. For example, such as controllers, services and more. I would set each's debuglog section respectively. NODE_DEBUG can get grossly long and if I add a new section, then I have to restart nodemon.

I thought something like NODE_DEBUG=* node app.js would work but it doesnt.

Upvotes: 0

Views: 293

Answers (1)

Dan
Dan

Reputation: 516

Never mind, I'm using debug now. It allows with DEBUG=*

Upvotes: 1

Related Questions