adonisjs / rfcs

💬 Sharing big changes with community to add them to the AdonisJs eco-system
52 stars 6 forks source link

Adding Telescope-like debugger to AdonisJs (Adoscope) #16

Closed Melchyore closed 3 years ago

Melchyore commented 5 years ago

Brief history

If you've already worked with Laravel, you've certainly heard about Telescope, a wonderful tool to debug your web application.

It logs everything about your application (requests, commands, exceptions, DB queries, etc).

Adoscope = Adonis + Microscope

What problem does it solve?

Proposal

Relevant links

https://github.com/Melchyore/adoscope

Telescope repository

Are you willing to work on it?

Yes, definitely!

thetutlage commented 5 years ago

Before I jump to other details, a quick question.

Do you want actions like sending emails, firing events to be scoped to a request?

Melchyore commented 5 years ago

Before I jump to other details, a quick question.

Do you want actions like sending emails, firing events to be scoped to a request?

@thetutlage since we don't know when emails are sent, it would be a great idea!

But what about events? I think there could be something like Event.on('any', cb) to catch all events and log them using the callback, does it?

Melchyore commented 5 years ago

Here we go https://github.com/Melchyore/adoscope !

For now it handles only requests and database queries.

Melchyore commented 5 years ago

@thetutlage do you have any other question(s)?