Sha256: 68ec42000969f0609fd9471ca2e593f4c4bd9b9e5b2a36f6e46157b4db1547c9

Contents?: true

Size: 510 Bytes

Versions: 5265

Compression:

Stored size: 510 Bytes

Contents

# frozen_string_literal: true

require "byebug/processors/pry_processor"

class << Pry::REPL
  alias start_without_pry_byebug start

  def start_with_pry_byebug(options = {})
    target = options[:target]

    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(options)
    end
  end

  alias start start_with_pry_byebug
end

Version data entries

5,265 entries across 5,265 versions & 18 rubygems

Version Path
cybrid_api_id_ruby-0.123.143 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb
cybrid_api_bank_ruby-0.123.142 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb
cybrid_api_id_ruby-0.123.142 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb
cybrid_api_organization_ruby-0.123.142 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb
cybrid_api_bank_ruby-0.123.140 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb
cybrid_api_id_ruby-0.123.140 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb
cybrid_api_organization_ruby-0.123.140 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb
cybrid_api_bank_ruby-0.123.139 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb
cybrid_api_id_ruby-0.123.139 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb
cybrid_api_organization_ruby-0.123.139 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb
cybrid_api_id_ruby-0.123.137 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb
cybrid_api_organization_ruby-0.123.137 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb
cybrid_api_bank_ruby-0.123.137 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb
cybrid_api_organization_ruby-0.123.135 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb
cybrid_api_bank_ruby-0.123.135 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb
cybrid_api_id_ruby-0.123.135 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb
cybrid_api_bank_ruby-0.123.134 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb
cybrid_api_id_ruby-0.123.134 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb
cybrid_api_organization_ruby-0.123.134 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb
cybrid_api_bank_ruby-0.123.132 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb