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.0.0.alpha0 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-hydra-client-2.0.2 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-hydra-client-2.0.1 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-0.2.0.alpha60 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-keto-client-0.10.0.alpha0 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-0.2.0.alpha48 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-0.2.0.alpha47 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-0.2.0.alpha46 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-0.2.0.alpha45 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-0.2.0.alpha44 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-0.2.0.alpha43 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-0.2.0.alpha42 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-0.2.0.alpha41 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-0.2.0.alpha40 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-0.2.0.alpha39 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-0.2.0.alpha38 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-0.2.0.alpha37 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-0.2.0.alpha36 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-0.2.0.alpha35 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb
ory-client-0.2.0.alpha34 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb