PdisplayErrors
Bun

property

vm.RunningScriptInNewContextOptions.displayErrors

displayErrors?: boolean

When true, if an Error occurs while compiling the code, the line of code causing the error is attached to the stack trace.