SetAutoAttachRequest

@Serializable
data class SetAutoAttachRequest(val autoAttach: Boolean, val waitForDebuggerOnStart: Boolean, val flatten: Boolean? = null, val filter: TargetFilter? = null)

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

Constructors

Link copied to clipboard
constructor(autoAttach: Boolean, waitForDebuggerOnStart: Boolean, flatten: Boolean? = null, filter: TargetFilter? = null)

Types

Link copied to clipboard
class Builder(val autoAttach: Boolean, val waitForDebuggerOnStart: Boolean)

A builder for SetAutoAttachRequest, which allows setting the optional parameters of the TargetDomain.setAutoAttach command via a lambda.

Properties

Link copied to clipboard

Whether to auto-attach to related targets.

Link copied to clipboard

Only targets matching filter will be attached.

Link copied to clipboard

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.

Link copied to clipboard

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