I'd like to set breakpoints triggered when a cookie is being set, either by HTTP response header Set-Cookie or by DOM (JavaScript) document.cookie='cookie1=value1'.
I need this because when I go to some websites they have huge amount of requests and it's hard to find which one of those sets the cookie I'd like to inspect (to debug code around it).
Is this possible to do in Chrome, Firefox or any other browser?