chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.inspector / InspectorDomain

InspectorDomain

class InspectorDomain

Official doc

Functions

detached

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

fun detached(): Flow<DetachedEvent>

disable

Disables inspector domain notifications.

suspend fun disable(): Unit

enable

Enables inspector domain notifications.

suspend fun enable(): Unit

events

Subscribes to all events related to this domain.

fun events(): Flow<InspectorEvent>

targetCrashed

Fired when debugging target has crashed

fun targetCrashed(): Flow<TargetCrashedEvent>

targetReloadedAfterCrash

Fired when debugging target has reloaded after crash

fun targetReloadedAfterCrash(): Flow<TargetReloadedAfterCrashEvent>