?debugClientLibs=true in author page | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
sam_stangeAccepted solution
New Participant
Oct 16, 2015 2:29 AM UTC

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

7 replies

New Participant
Sep 27, 2019 5:39 PM UTC

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?

Translate
sam_stangeAccepted solution
New Participant
Oct 16, 2015 2:29 AM UTC

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

Translate
Krishna_C
Level 3
Oct 16, 2015 2:29 AM UTC

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

Translate
Feike_Visser1
Employee
Oct 16, 2015 2:29 AM UTC

Remove the /cf# in your url

Translate
askdctmAuthor
Level 9
Oct 16, 2015 2:29 AM UTC

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.

Translate
Feike_Visser1
Employee
Oct 16, 2015 2:29 AM UTC

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

Translate
askdctmAuthor
Level 9
Oct 16, 2015 2:29 AM UTC

Hi Feike,

Will check on this and get back to you.

Translate