chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.target / SetAutoAttachRequest

SetAutoAttachRequest

data class SetAutoAttachRequest

Request object containing input parameters for the TargetDomain.setAutoAttach command.

Constructors

<init>

Request object containing input parameters for the TargetDomain.setAutoAttach command.

SetAutoAttachRequest(autoAttach: Boolean, waitForDebuggerOnStart: Boolean, flatten: Boolean? = null)

Properties

autoAttach

Whether to auto-attach to related targets.

val autoAttach: Boolean

flatten

Enables "flat" access to the session via specifying sessionId attribute in the commands. We plan to make this the default, deprecate non-flattened mode, and eventually retire it. See crbug.com/991325.

val flatten: Boolean?

waitForDebuggerOnStart

Whether to pause new targets when attaching to them. Use Runtime.runIfWaitingForDebugger to run paused targets.

val waitForDebuggerOnStart: Boolean