Debug sessions library


#1

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!


#2

Hey @taviroquai! :wave:

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

> DEBUG=adonis:* adonis serve --dev

#3

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


#4

Thank you @romain.lanz and @virk

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