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-client-1.1.12 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.11 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.10 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
mux_ruby-3.8.0 vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
primary_connect_proto-0.18.0 vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
primary_connect_proto-0.18.0 vendor/bundle/ruby/3.0.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.7 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-kratos-client-0.11.1 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.5 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.4 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.3 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.2 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.1 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.1.0 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-kratos-client-0.11.0 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.0.2 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
primary_connect_proto-0.17.0 vendor/bundle/ruby/3.0.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
primary_connect_proto-0.17.0 vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.0.1 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-1.0.0 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb