Manual:$wgResourceLoaderDebug/en

Details
The default debug mode (on/off) for ResourceLoader requests. See also ResourceLoader/Features#Debug mode for more about what the debug mode does.

You can achieve a similar result by setting the  cookie (or, for a single request, the   URL query parameter).