Have been following this guide to make caching depend on the value of a specific cookie:
https://cornel.co/article/page-cache-cookiesor-anything-available-http-request-d9
However, it does not seem to work for anonymous users.
Debugging (xdebug) within both
src/StackMiddleware/CookiesPageCache.php
src/CookiesPageCacheServiceProvider.php
is possible when logged in as admin and running "cache rebuild" – but not when anonymous.
My question is – how should one go about debugging in the case of anonymous users?