Varnish Debug

Component ID

1259074

Component name

Varnish Debug

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

DO NOT USE ON PRODUCTION!

Varnish Debug is a very simple module, which should be used with Varnish off to find contrib modules that are setting cookies or opening a SESSION.

You enable the module and it will add the information of every cookie and session to the Javascript Drupal object.

So you can just open the javascript console:

And type:

Drupal.settings.varnish_debug

and it"ll show you the contents of that nicely organized as objects.

I needed it for Varnish Debug and I am sharing it with the community.

Be aware that the contents of $_SESSION can be sensitive information, so use with care.