-
-
Notifications
You must be signed in to change notification settings - Fork 37.1k
Trace Events JS API doesn't work w/o CLI args #24944
Copy link
Copy link
Closed
Labels
regressionIssues related to regressions.Issues related to regressions.trace_eventsIssues and PRs related to trace events from V8, Node.js core, and user code.Issues and PRs related to trace events from V8, Node.js core, and user code.
Description
Activity
Metadata
Metadata
Assignees
Labels
regressionIssues related to regressions.Issues related to regressions.trace_eventsIssues and PRs related to trace events from V8, Node.js core, and user code.Issues and PRs related to trace events from V8, Node.js core, and user code.
The Trace Events JS API isn't functional if none of
--trace-events-enabledor--trace-event-categoriesis passed as a CLI argument. In other words, traces are never written when this program is run without command line arguments:In Node 10.8 in earlier this code works as intended, and a trace file is created.