Documentation: https://hypervel.org/docs/telescope
- Recording state applies to the current coroutine, since one worker handles many requests at once.
startRecording(),stopRecording(),withoutRecording()andisRecording()apply to the current coroutine, and the$shouldRecordproperty is not available. See controlling recording. - Recorded entries and updates are also held per coroutine. Use
Telescope::getEntriesQueue()andTelescope::getUpdatesQueue()instead of the$entriesQueueand$updatesQueueproperties.Telescope::store()waits until the current coroutine finishes before storing them, unless thetelescope.deferoption isfalse. See deferred storage. Telescope::cspNonce()sets the nonce for the current request only, so call it from middleware rather than during boot. The$nonceAttributeproperty is not available. See Content Security Policy (CSP) nonce.- The HTTP client watcher records all Guzzle clients, including third-party SDKs, rather than only framework HTTP client calls. See HTTP client recording and exclusions.
Ported from: https://github.com/laravel/telescope