Class: Pry::REPL
- Inherits:
-
Object
- Object
- Pry::REPL
- Defined in:
- lib/pry-byebug/pry_ext.rb
Class Method Summary collapse
Class Method Details
.run_remote? ⇒ Boolean
27 28 29 |
# File 'lib/pry-byebug/pry_ext.rb', line 27 def run_remote? PryByebug.current_remote_server end |
.start_with_pry_byebug(options = {}) ⇒ Object Also known as: start
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/pry-byebug/pry_ext.rb', line 9 def start_with_pry_byebug( = {}) target = [:target] if target.is_a?(Binding) && PryByebug.file_context?(target) && !ENV["DISABLE_PRY"] if run_remote? Byebug::PryRemoteProcessor.start return start_without_pry_byebug() end Byebug::PryProcessor.start else # No need for the tracer unless we have a file context to step through start_without_pry_byebug() end end |