Inspect requests for Adonis v4, a very lighter and minimalist version of Laravel's Telescope.
Contributions are welcomed.
npm install @suhendra/adonis-inspect
Register it in start/app.js
:
const providers = [
...
'@suhendra/adonis-inspect/providers/InspectProvider'
];
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
.
Disable / enable collectors by config in config/inspect.js
.
Currently supported collectors:
- Query
- Response
Run ace command `adonis ins