I'm pretty sure this was possible before, but right now, I'm not able to do the following:
- Enable a broken gadget, or a gadget you want to debug
- Access a page where the gadget is executed (e.g. a page where you noticed an error/warning in the console)
- On Firefox/Iceweasel, type !SomethingFromThatGadget in the search box in the "Search scripts" field in the "Debugger" tab, to search for all scripts containing that string (e.g. to get some context for the code which is mentioned in the error/warning message)
Expected result
One of the search results contains the gadget script I was looking for (maybe concatenated with the code of other gadgets the user has enabled)
Actual result
No result from the gadget I want. Tested with Iceweasel 38.1.0 (and the analogous procedure on Google Chrome 44).
I believe this might be due to some recent change in MediaWiki, because I used to do this a lot some time ago. In case I'm just missing something, please close this as invalid (and kindly point me to a way to search over all JS code which is loaded in a page, for debugging scripts with Firefox).