I'd like to set breakpoint when cookie is being set, either by HTTP response header Set-Cookie or by 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. Also, if cookie is set via JS I'd also like to breakpoint on that and inspect/debug code around it.
Is this possible to do in Chrome, FireFox or any other browser?