process.abort()


process.abort()方法会使Node.js进程立即结束,并生成一个core文件。

The process.abort() method causes the Node.js process to exit immediately and generate a core file.

This feature is not available in Worker threads.