Länk - Getting some debug info out of Varnish
Make a custom http header to hold the debug info:
sub vcl_fetch { set obj.http.X-Cookie-Debug = "Request cookie: " req.http.Cookie; ... }
Läs mer: Varnish, caching and HTTP cookies | Open Source Hacker