process.report.reportOnFatalError


稳定性: 1 - 实验

如果为 true,则会生成有关致命错误(例如内存不足错误或 C++ 断言失败)的诊断报告。

console.log(`Report on fatal error: ${process.report.reportOnFatalError}`);

Stability: 1 - Experimental

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}`);