Open CQ’s OSGi console and go to the “Configuration tab”, once there, search for the entry “Day CQ HTML Library Manager” and mark the “Debug” checkbox. This alternative is good when you want to debug files for a long period of time. But, what about if you only want to activate this debugging for a single page?
URL parameter “debugClientLibs”
If you want to debug only one page or you tend to forget setting the Day CQ HTML Library Manager configuration back to its original values, this is the simplest way to do it. You just have to set the parameter debugClientLibs to true for the page you want to debug.