Inspector

class Inspector(cdp: CDP) : Domain

Constructors

Link copied to clipboard
constructor(cdp: CDP)

Types

Link copied to clipboard
@Serializable
data class DetachedParameter(val reason: String)

Fired when remote debugging connection is about to be terminated. Contains detach reason.

Properties

Link copied to clipboard

Fired when remote debugging connection is about to be terminated. Contains detach reason.

Link copied to clipboard
val targetCrashed: Flow<Unit>

Fired when debugging target has crashed

Link copied to clipboard

Fired when debugging target has reloaded after crash

Functions

Link copied to clipboard
suspend fun disable(mode: CommandMode = CommandMode.DEFAULT)

Disables inspector domain notifications.

Link copied to clipboard
suspend fun enable(mode: CommandMode = CommandMode.DEFAULT)

Enables inspector domain notifications.