import { type ProcessReport } from "node:process";
ProcessReport.getReport(err?: Error): object
Returns a JavaScript Object representation of a diagnostic report for the running process.
The report's JavaScript stack trace is taken from err, if present.