Node.js module
trace_events
The 'node:trace_events' module enables programmatic control of Node.js's built-in tracing system for logging V8 and Node core events. Bun provides the API surface for compatibility.
Not implemented in Bun
Not implemented. Profiling and tracing capabilities might be available through other means (e.g., `bun --profile`, `bun:jsc`).
Functions 2
- trace_events.createTracing()
Creates and returns a
Tracingobject for the given set ofcategories. - trace_events.getEnabledCategories()
Returns a comma-separated list of all currently-enabled trace event categories.
Interfaces 2
- interface CreateTracingOptions
- interface Tracing
The
Tracingobject is used to enable or disable tracing for sets of categories.