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
ory-hydra-client-2.1.1 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-hydra-client-2.1.0 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.24 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.23 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.22 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-oathkeeper-client-0.40.2 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.21 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.20 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.19 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.18 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
primary_connect_proto-0.20.0 vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
primary_connect_proto-0.20.0 vendor/bundle/ruby/3.0.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-keto-client-0.11.0.alpha0 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
mux_ruby-3.9.0 vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
primary_connect_proto-0.19.0 vendor/bundle/ruby/3.0.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.17 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.16 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.15 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.14 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.13 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb