Sha256: 9d7936a176a56a0d8c57c4d94179491eda083c447eb9960a3628f3a0e6b31407

Contents?: true

Size: 477 Bytes

Versions: 2

Compression:

Stored size: 477 Bytes

Contents

require "byebug/processors/pry_processor"

class << Pry
  alias start_without_pry_byebug start

  def start_with_pry_byebug(target = TOPLEVEL_BINDING, options = {})
    if target.is_a?(Binding) && PryByebug.file_context?(target)
      Byebug::PryProcessor.start unless ENV["DISABLE_PRY"]
    else
      # No need for the tracer unless we have a file context to step through
      start_without_pry_byebug(target, options)
    end
  end

  alias start start_with_pry_byebug
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
dadapush_client-1.0.1 vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/pry_ext.rb
pry-byebug-3.6.0 lib/pry-byebug/pry_ext.rb