docs: add tracing instructions to README (#257)

**What**?
Add a `Tracing / Verbose Logging` section to the README

**Why**?
Enable easier troubleshooting by logging full API requests, responses,
and prompt details used during code generation.

**How**?

Inserted the new section between `Non‑interactive / CI mode` and `FAQ`.
This commit is contained in:
Uladzimir Yancharuk
2025-04-17 20:44:02 +02:00
committed by GitHub
parent 3a71175236
commit 701b6736ff

View File

@@ -198,6 +198,14 @@ Run Codex headless in pipelines. Example GitHub Action step:
Set `CODEX_QUIET_MODE=1` to silence interactive UI noise.
## Tracing / Verbose Logging
Setting the environment variable `DEBUG=true` prints full API request and response details:
```shell
DEBUG=true codex
```
---
## Recipes