TIL Node can generate diagnostic reports.

You can pass `--report-on-fatalerror` (or many other flags) to Node itself, or call `http://process.report.writeReport`.

SUPER useful for debugging OOM errors or high CPU usage.

Source: x.com/mattpocockuk/status/1848332650420851111

Reply to this note

Please Login to reply.

Discussion

No replies yet.