Hi. I'm trying to debug clientlibs in AEM 6.5.0 and 6.5.2 (out of the box) at /editor.html/content/we-retail/us/en/men.html
When I append ?debugClientLibs=true to the URL, or check the htmllibmanager.debug option in Html Library Manager in /system/console/configMgr, then Touch UI loads incorrectly, and editing is not possible.
There are errors in the console:
How can this be fixed?