Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Target.SetAutoAttachRequest
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { SetAutoAttachRequest } = Protocol.Target;

Properties

autoAttach: boolean

Whether to auto-attach to related targets.

waitForDebuggerOnStart: boolean

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

optional
flatten: boolean

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.