{ "source": "doc/api/tracing.md", "modules": [ { "textRaw": "Tracing", "name": "tracing", "desc": "
Trace Event provides a mechanism to centralize tracing information generated by\nV8, Node core, and userspace code.
\nTracing can be enabled by passing the --trace-events-enabled
flag when starting a\nNode.js application.
The set of categories for which traces are recorded can be specified using the\n--trace-event-categories
flag followed by a list of comma separated category names.\nBy default the node
and v8
categories are enabled.
node --trace-events-enabled --trace-event-categories v8,node server.js\n
\nRunning Node.js with tracing enabled will produce log files that can be opened\nin the chrome://tracing
\ntab of Chrome.