[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Target](./puppeteer.protocol.target.md) > [SetAutoAttachRequest](./puppeteer.protocol.target.setautoattachrequest.md)
## Protocol.Target.SetAutoAttachRequest interface
Signature:
```typescript
export interface SetAutoAttachRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [autoAttach](./puppeteer.protocol.target.setautoattachrequest.autoattach.md) | boolean | Whether to auto-attach to related targets. |
| [flatten](./puppeteer.protocol.target.setautoattachrequest.flatten.md) | 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. |
| [waitForDebuggerOnStart](./puppeteer.protocol.target.setautoattachrequest.waitfordebuggeronstart.md) | boolean | Whether to pause new targets when attaching to them. Use Runtime.runIfWaitingForDebugger
to run paused targets. |