process.report.reportOnFatalError
如果为 true
,则会生成有关致命错误(例如内存不足错误或 C++ 断言失败)的诊断报告。
console.log(`Report on fatal error: ${process.report.reportOnFatalError}`);
If true
, a diagnostic report is generated on fatal errors, such as out of
memory errors or failed C++ assertions.
console.log(`Report on fatal error: ${process.report.reportOnFatalError}`);