Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

?debugClientLibs=true in author page

Avatar

Level 9

Hi All,

I appended ?debugClientLibs=true to the page http://localhost:4502/cf#/content/geometrixx-media/en/entertainment/daniel-falardeau.html in OOTB instance. But I am not able to understand what exactly is the use of it.

Any thoughts on this will be helpful.

1 Accepted Solution

Avatar

Correct answer by
Level 1

It can be especially helpful for debugging javascript files because AEM will combine multiple .js files and in some cases, minify the js making it very difficult to troubleshoot/debug. Here is a good post of some url tricks for AEM: http://blogs.adobe.com/experiencedelivers/experience-management/cq_developer_tricks/

Hope this helps!

Sam

View solution in original post

7 Replies

Avatar

Correct answer by
Level 1

It can be especially helpful for debugging javascript files because AEM will combine multiple .js files and in some cases, minify the js making it very difficult to troubleshoot/debug. Here is a good post of some url tricks for AEM: http://blogs.adobe.com/experiencedelivers/experience-management/cq_developer_tricks/

Hope this helps!

Sam

Avatar

Level 4

AEM merges all the java script files within a Client Library into a single js file.

Using  ?debugClientLibs=true will download all the js files individually making debugging easier. 

 

Krishna

Avatar

Level 9

Hi Feike,

Thank you for your reply.

I did remove the cf# from the url and try. However, could not notice any difference. I guess I am doing something wrong here.

Avatar

Employee

Do you see in your HTML-source the js/css-files separately?

Avatar

Level 9

Hi Feike,

Will check on this and get back to you.

Avatar

Level 1

Hi

I tried debugClientLib=true on publish page path, And its trying to load the clientlibs from /apps directory and not able to load due to access restriction while it should load it from /etc.clientlibs path.

Any suggestion?