Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 736 Bytes

debug.md

File metadata and controls

37 lines (24 loc) · 736 Bytes

Debug

Debug tools for Apitte, based on Tracy debugger.

Setup

Install and register debug plugin.

api:
    plugins:
        Apitte\Debug\DI\DebugPlugin:
            debug:
                panel: %debugMode%
                negotiation: %debugMode%

Tracy

  • bar panel - displays all router
  • blue screen panel - displays endpoint with invalid schema

Negotiation

If you have negotiation plugin installed then you will be able to use two new suffixes.

With these suffixes you will also be able to see Tracy bar

.debug

  • dumps response
  • example.com/api/v1/users.debug

.debugdata

  • dumps response entity
  • example.com/api/v1/users.debugdata