process.report.reportOnSignal


如果为 true,则当进程接收到 process.report.signal 指定的信号时生成诊断报告。

console.log(`Report on signal: ${process.report.reportOnSignal}`);

If true, a diagnostic report is generated when the process receives the signal specified by process.report.signal.

console.log(`Report on signal: ${process.report.reportOnSignal}`);