How to switch to non-minified Javascript for debugging

Although you should always serve minified Javascript, temporarily running Confluence with non-minified Javascript can be useful for debugging.

A quick and simple way to do this is run Confluence with the following VM setting:

-Datlassian.webresource.disable.minification=true

If you're using IntelliJ IDEA you can enter this at Run→Edit Configurations→Tomcat Server→(your instance name)→VM Parameters

Remember to remove the parameter when you're finished debugging.

Was this page helpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport