On this page

    M

    process.abort

    History
    process.abort(): void

    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.