Class: Byebug::DAP::Command::Initialize

Inherits:
Byebug::DAP::Command show all
Defined in:
lib/byebug/dap/commands/initialize.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



11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'lib/byebug/dap/commands/initialize.rb', line 11

def execute
  respond! body: {
    supportsConfigurationDoneRequest: true,
    supportsFunctionBreakpoints: true,
    supportsConditionalBreakpoints: true,
    supportsHitConditionalBreakpoints: true,
    supportsLogPoints: true,
    supportsBreakpointLocationsRequest: true,
    supportsDelayedStackTraceLoading: true,
    exceptionBreakpointFilters: Command::SetExceptionBreakpoints::FILTERS,
    supportsExceptionInfoRequest: true,
  }

  event! 'initialized'
end