--report-on-fatalerror
启用在致命错误(Node.js 运行时的内部错误,例如内存耗尽)发生时触发报告的功能,这些错误会导致应用终止。可用于检查各种诊断数据元素,如堆、堆栈、事件循环状态、资源消耗等,以分析致命错误的原因。
【Enables the report to be triggered on fatal errors (internal errors within the Node.js runtime such as out of memory) that lead to termination of the application. Useful to inspect various diagnostic data elements such as heap, stack, event loop state, resource consumption etc. to reason about the fatal error.】