Wednesday, 24 May 2017

Node.js tracing options

Node.js 7 has command-line switches --trace-events-enabled & --trace-event-categories that look promising for debugging simple problems, but the tracing documentation is rather sparse.

I don't see for example a list of what trace event categories may be specified on the command line or API level docs. Perhaps there is a command switch to display categories. But my question: is there a trace category for tracing module loading events which could be used in Error: Cannot find module messages?

Does Node 6 have anything similar from the module load trace standpoint?



via Burt_Harris

No comments:

Post a Comment