@suhendra/adonis-inspect

1.0.3 • Public • Published

Adonis Inspect

Inspect requests for Adonis v4, a very lighter and minimalist version of Laravel's Telescope.

Contributions are welcomed.

License

License NPM

image image

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

Package Sidebar

Install

npm i @suhendra/adonis-inspect

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

3.41 MB

Total Files

18

Last publish

Collaborators

  • sam_adam