# frozen_string_literal: true original_handler = Pry.config.control_d_handler Pry.config.control_d_handler = proc do |eval_string, pry_instance| Byebug.stop if Byebug.stoppable? original_handler.call(eval_string, pry_instance) end