The process.abort() method causes the Node.js process to exit immediately and generate a core file.
process.abort()
This feature is not available in Worker threads.
Worker
v0.7.0