Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md

README.md

Apitte Debug

Debug tools for Apitte, based on Tracy debugger.

Setup

First of all, setup core package.

Install and register debug plugin

composer require apitte/debug
api:
    plugins: 
        Apitte\Debug\DI\DebugPlugin:
            debug: %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
You can’t perform that action at this time.