The idea is to make this work:
javascript:alert(document.cookie="resource_loader_debug=1;path=/")
Meaning a developer could add this URI as a bookmark which would in effect turn on the debug mode.
I was going to attach a patch, but I see my original idea is not working and I have a question - can I replace all this getFuzzyBool thingies in OutputPage.php to a static method call of e.g. ResourceLoaderContext? Something like:
ResourceLoaderContext::isInDebugMode($wgRequest)
Version: 1.17.x
Severity: enhancement