class Pry

Public Class Methods

run_remote?() click to toggle source
# File lib/pry-byebug/pry_ext.rb, line 18
def run_remote?
  PryByebug.current_remote_server
end
start(target = TOPLEVEL_BINDING, options = {})
Also aliased as: start_without_pry_byebug
start_with_pry_byebug(target = TOPLEVEL_BINDING, options = {}) click to toggle source
# File lib/pry-byebug/pry_ext.rb, line 9
def start_with_pry_byebug(target = TOPLEVEL_BINDING, options = {})
  if target.is_a?(Binding) && PryByebug.file_context?(target) && !ENV["DISABLE_PRY"]
    run_remote? ? Byebug::PryRemoteProcessor.start : Byebug::PryProcessor.start
  else
    # No need for the tracer unless we have a file context to step through
    start_without_pry_byebug(target, options)
  end
end
Also aliased as: start
start_without_pry_byebug(target = TOPLEVEL_BINDING, options = {})
Alias for: start