Module: Byebug

Defined in:
lib/byebug/gem.rb,
lib/byebug/dap/server.rb,
lib/byebug/dap/session.rb,
lib/byebug/dap/helpers/channel.rb,
lib/byebug/dap/helpers/handles.rb,
lib/byebug/dap/command_processor.rb,
lib/byebug/dap/helpers/safe_helpers.rb,
lib/byebug/dap/helpers/child_spawned_event_body.rb,
lib/byebug/dap/helpers/invalid_request_argument_error.rb,
lib/byebug/dap.rb

Defined Under Namespace

Modules: DAP Classes: Context, Frame

Class Method Summary collapse

Class Method Details

.start_dap(host, port = 0) ⇒ DAP::Server

Creates and starts the server. See Byebug::DAP::Server#initialize and Byebug::DAP::Server#start.

Parameters:

Returns:



35
36
37
# File 'lib/byebug/dap.rb', line 35

def start_dap(host, port = 0)
  DAP::Server.new.start(host, port)
end