Class: Byebug::DAP::Command::Attach

Inherits:
Byebug::DAP::Command show all
Defined in:
lib/byebug/dap/commands/attach.rb

Constant Summary

Constants inherited from Byebug::DAP::Command

EVAL_ERROR

Instance Method Summary collapse

Methods inherited from Byebug::DAP::Command

command, execute, #execute_on_thread, #initialize, #log, register!, resolve!, #safe_execute, #started!, #stopped!

Methods included from SafeHelpers

#safe

Constructor Details

This class inherits a constructor from Byebug::DAP::Command

Instance Method Details

#executeObject



7
8
9
10
11
# File 'lib/byebug/dap/commands/attach.rb', line 7

def execute
  stopped!
  @session.start!(:attached)
  respond!
end