Switon's runtime inspector for request-scoped payload capture, collector discovery, and live debug links.
- Request tracing: the inspector hooks into the request lifecycle and response output.
- Collector loading: collectors can be discovered and overridden by package metadata.
- Payload storage: captured payloads can be stored in Redis or the filesystem.
- Debug links: request and response headers can expose inspector links.
- Watch mode:
InspectorCommandcan follow activity and filter it by app or target.
composer require --dev switon/inspectorcurl -i http://<host>:<port>/api/usersOpen the returned X-Inspector-Link URL to inspect the captured request.
Docs: https://docs.switon.dev/latest/inspector
MIT.