Sha256: ece9e69e758031dbcb0b5cc37d5b6c48146d97fab36e576f73275cdb67d0d08b

Contents?: true

Size: 238 Bytes

Versions: 6

Compression:

Stored size: 238 Bytes

Contents

# 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

Version data entries

6 entries across 6 versions & 5 rubygems

Version Path
talon_one-2.0.0 vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.7.0/lib/pry-byebug/control_d_handler.rb
argon-1.3.1 vendor/bundle/ruby/2.7.0/gems/pry-byebug-3.8.0/lib/pry-byebug/control_d_handler.rb
symbolic_enum-1.1.5 vendor/bundle/ruby/2.7.0/gems/pry-byebug-3.8.0/lib/pry-byebug/control_d_handler.rb
pry-byebug-3.8.0 lib/pry-byebug/control_d_handler.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.7.0/lib/pry-byebug/control_d_handler.rb
pry-byebug-3.7.0 lib/pry-byebug/control_d_handler.rb