Can't debug javascript in Liferay?

Posted on 23/02/2012 by Charalampos Chrysikopoulos

Per default liferay minifies all javascript and css files of your portlets. As a result you have better speed, but while being in the developing cycle, you can scarify some speed for information. And debugging the javascript with a tool like firebug is in most cases very helpful. But for that you need the code to be in separate rows, not all in one.

In Liferay 5.x.x you can do this by putting an attribute in the URL:


In liferay 6.x.x you can do this by putting a property in the file:

# The minifier filter is used to minify CSS and JavaScript.

This entry was posted in Liferay and tagged debug, javascript, Liferay by Charalampos Chrysikopoulos