Debug tools for Apitte (opens new window), based on Tracy debugger (opens new window).

# Content

# Setup

First of all, setup core (opens new window) package.

Install and register debug plugin

composer require apitte/debug
1
api:
    plugins:
        Apitte\Debug\DI\DebugPlugin:
            debug:
                panel: %debugMode%
                negotiation: %debugMode%
1
2
3
4
5
6

# Tracy

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

# Negotiation

If you have negotiation (opens new window) 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