{
  "source": "doc/api/tracing.md",
  "modules": [
    {
      "textRaw": "Tracing",
      "name": "tracing",
      "desc": "<p>Trace Event provides a mechanism to centralize tracing information generated by\nV8, Node core, and userspace code.</p>\n<p>Tracing can be enabled by passing the <code>--trace-events-enabled</code> flag when starting a\nNode.js application.</p>\n<p>The set of categories for which traces are recorded can be specified using the\n<code>--trace-event-categories</code> flag followed by a list of comma separated category names.\nBy default the <code>node</code> and <code>v8</code> categories are enabled.</p>\n<pre><code class=\"lang-txt\">node --trace-events-enabled --trace-event-categories v8,node server.js\n</code></pre>\n<p>Running Node.js with tracing enabled will produce log files that can be opened\nin the <a href=\"https://www.chromium.org/developers/how-tos/trace-event-profiling-tool\"><code>chrome://tracing</code></a>\ntab of Chrome.</p>\n",
      "type": "module",
      "displayName": "Tracing"
    }
  ]
}
