Experimental project

This is a sandbox project, which contains experimental code for developer use only.

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.

Project information

  • Created by Fabianx on , updated