@suhendra/adonis-inspect
v1.0.3
Published
Inspect AdonisJS 4.1 requests
Downloads
7
Readme
Adonis Inspect
Inspect requests for Adonis v4, a very lighter and minimalist version of Laravel's Telescope.
Contributions are welcomed.
License
Installation
npm install @suhendra/adonis-inspect
Configure
Register it in start/app.js
:
const providers = [
...
'@suhendra/adonis-inspect/providers/InspectProvider'
];
Usage
Visit <app_url>/_inspect
to view the lists of requests, e.g: http://localhost:3333/_inspect
.
If on dev, prevent reload everytime new json file created by ignoring the used directory, e.g: adonis serve --dev --ignore=storage
.
Collectors
Disable / enable collectors by config in config/inspect.js
.
Currently supported collectors:
- Query
- Response
Cleaning Up
Run ace command `adonis ins