Manual:$wgResourceLoaderDebug

Details
The default debug mode (on/off) for of ResourceLoader requests.

NOTE! For any extension to work properly in debug mode, you must also set properly.