Sha256: c58ec62663b4f3a300188aaff31027f1cb6abb36168d725fef77bd31ef9c5433

Contents?: true

Size: 508 Bytes

Versions: 1498

Compression:

Stored size: 508 Bytes

Contents

# frozen_string_literal: true

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

1,498 entries across 1,494 versions & 20 rubygems

Version Path
mx-platform-ruby-0.3.1 vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
passbase-1.3.0 vendor/bundle/ruby/2.7.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
mfk_openapi_ruby_client-1.0.0 vendor/bundle/ruby/2.7.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
passbase-1.2.0 vendor/bundle/ruby/2.7.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
passbase-1.1.0 vendor/bundle/ruby/2.7.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
passbase-1.0.3 vendor/bundle/ruby/2.7.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
passbase-1.0.2 vendor/bundle/ruby/2.7.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
passbase-1.0.1 vendor/bundle/ruby/2.7.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
passbase-1.0.0 vendor/bundle/ruby/2.7.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
files.com-1.0.1 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
talon_one-2.0.0 vendor/bundle/ruby/2.7.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
talon_one-2.0.0 vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.7.0/lib/pry-byebug/pry_ext.rb
pry-byebug-3.9.0 lib/pry-byebug/pry_ext.rb
argon-1.3.1 vendor/bundle/ruby/2.7.0/gems/pry-byebug-3.8.0/lib/pry-byebug/pry_ext.rb
symbolic_enum-1.1.5 vendor/bundle/ruby/2.7.0/gems/pry-byebug-3.8.0/lib/pry-byebug/pry_ext.rb
pry-byebug-3.8.0 lib/pry-byebug/pry_ext.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.7.0/lib/pry-byebug/pry_ext.rb
pry-byebug-3.7.0 lib/pry-byebug/pry_ext.rb