DebuggerConfig

class DebuggerConfig(serializer: JSONSerializer) : FeatureConfig(source)

Configuration class for managing debugger-specific settings.

This class extends the base FeatureConfig to enable the configuration of debugger-related parameters. It allows setting and retrieving the port number used by the debugger.

Constructors

Link copied to clipboard
constructor(serializer: JSONSerializer)

Properties

Link copied to clipboard

The optional duration to wait for establishing a connection with the debugger. Use an infinite awaiting if value is not defined.

Link copied to clipboard

A filter for events to be processed by a feature.

Link copied to clipboard

Provides a read-only list of FeatureMessageProcessor instances registered with the feature configuration.

Link copied to clipboard
val port: Int?

The port number used by the debugger.

Functions

Link copied to clipboard

Adds a message processor to the configuration.

Link copied to clipboard

Sets the duration to wait for establishing an initial connection with the debugger.

Link copied to clipboard
open override fun setEventFilter(filter: (AgentLifecycleEventContext) -> Boolean)

A filter for messages to be sent to the tracing message processors.

Link copied to clipboard
fun setPort(port: Int)

Sets the port number to be used by the debugger.