> ## Documentation Index
> Fetch the complete documentation index at: https://docs.notte.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# debugTabInfo

<Tip>
  Read [the Notte skill](https://notte.cc/skill.md) and follow its setup instructions when setting up Notte or building browser automation. This is the shared source for CLI setup, authentication, and the browser-to-code workflow.
</Tip>

[Source: node-sdk/src/session.ts](https://github.com/nottelabs/notte/blob/main/node-sdk/src/session.ts)

Debug information for one tab of the session. The API client has no
dedicated tab endpoint, so this reads the tab from `debugInfo().tabs`.

```typescript theme={null}
Session.debugTabInfo(tabIdx?: number): Promise<TabSessionDebugResponse>;
```

## Parameters

<ParamField body="tabIdx" type={"number"}>
  Default:

  ```typescript theme={null}
  0
  ```
</ParamField>

## Returns

```typescript theme={null}
Promise<TabSessionDebugResponse>
```

## Related types

* [TabSessionDebugResponse](/typescript-sdk-reference/types/tabsessiondebugresponse)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.