Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (26 sloc) 846 Bytes

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.