# debugger

```sh
rai debugger [OPTIONS]
```

Launch the PyRel debugger UI.

## Options

| Option          | Type      | Description                                                                         |
| :-------------- | :-------- | :---------------------------------------------------------------------------------- |
| `--file`        | file      | Primary trace file (defaults to the most recent run's spans.jsonl).                 |
| `--host`        | text      | Host to bind to. Default: `0.0.0.0`.                                                |
| `--port, -p`    | integer   | Port to listen on. Default: `8080`.                                                 |
| `--label`       | text      | Label appended to the browser tab title.                                            |
| `--report`      | path      | Doctor report zip, or an unzipped report directory, to open in the report browser.  |
| `--reports-dir` | directory | Directory to scan for doctor\_report\_\*.zip files.                                 |
| `--no-show`     | Boolean   | Do not automatically open a browser tab when the debugger starts. Default: `False`. |

## See Also

- [`commands`](/api/cli/v2.3/commands/index.md)
- [`connect`](/api/cli/v2.3/connect/index.md)
- [`init`](/api/cli/v2.3/init/index.md)
- [`usage`](/api/cli/v2.3/usage/index.md)
- [`version`](/api/cli/v2.3/version/index.md)
- [`whoami`](/api/cli/v2.3/whoami/index.md)
