Overview
Instructor PHP provides a way to debug HTTP calls made to LLM APIs viawithHttpDebugPreset() (or the legacy withDebugPreset()) on the Inference
object.
When HTTP debug mode is enabled, the HTTP middleware stack prints request and
response details (including streaming data) to the console and dispatches HTTP
debug events.