module Byebug
def self.handle_post_mortem
prompt back to the user before program termination.
Saves information about the unhandled exception and gives a byebug
def self.handle_post_mortem return unless Byebug.raised_exception context = Byebug.raised_exception.__bb_context file = Byebug.raised_exception.__bb_file line = Byebug.raised_exception.__bb_line Byebug.handler.at_line(context, file, line) end