April 12, 2020
Estimated Post Reading Time ~

Adobe CQ (AEM) Debug Filter

As outlined in the security doc for AEM, you should turn off the debug filter on your production instances. When searching the docs, however, I had a hard time actually finding the options for the debug filter.

There is a class called DebugFlag that enumerates all the options for this filter:

http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/wcm/api/DebugFlag.html

the 3 values supported are layout, mdev and mdevc – layout outputs information about every cq:include on the page (path, selector, resource, component), mdev and mdevc output what mobile device AEM thinks the browser is. If you add debug=mdev to the page, the output is right there on the screen, if you use mdevc, the output is an html comment.


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.