Debug sessions library


Hi all,

I see that sessions are using a “debug” library.
debug('existing session found for user')

Where (or how) can I see these messages? Thanks!


Hey @taviroquai! :wave:

You need to run adonis command with DEBUG=adonis:* before.

> DEBUG=adonis:* adonis serve --dev


And just for sessions, you can say DEBUG=adonis:session


Thank you @romain.lanz and @virk

How did I miss this from the docs?!? :smiley: