FsetTraceSigInt
Bun

function

util.setTraceSigInt

function setTraceSigInt(
enable: boolean
): void;

Enable or disable printing a stack trace on SIGINT. The API is only available on the main thread.