Class: PryByebug::ExitAllCommand

Inherits:
Pry::Command::ExitAll
  • Object
show all
Defined in:
lib/pry-byebug/commands/exit_all.rb

Overview

Exit pry REPL with Byebug.stop

Instance Method Summary collapse

Instance Method Details

#processObject



10
11
12
13
14
15
# File 'lib/pry-byebug/commands/exit_all.rb', line 10

def process
  super
ensure
  PryByebug.current_remote_server&.teardown
  Byebug.stop if Byebug.stoppable?
end