Class: Byebug::DAP::ChildSpawnedEventBody Private

Inherits:
Protocol::Base
  • Object
show all
Defined in:
lib/byebug/dap/helpers/child_spawned_event_body.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

‘childSpawned` is a custom DAP event used to notify the client that a child process has spawned.

Instance Attribute Summary collapse

Instance Attribute Details

#namestd:String (readonly)

The child process’s name

Returns:

  • (std:String)


12
# File 'lib/byebug/dap/helpers/child_spawned_event_body.rb', line 12

property :name

#pidstd:Integer (readonly)

The child’s process ID

Returns:

  • (std:Integer)


17
# File 'lib/byebug/dap/helpers/child_spawned_event_body.rb', line 17

property :pid

#socketstd:String (readonly)

The debug socket to connect to

Returns:

  • (std:String)


22
# File 'lib/byebug/dap/helpers/child_spawned_event_body.rb', line 22

property :socket