IntelliJ IDEA Community Edition : Tips and Tricks – Part I (run/debug web applications using tomcat plugin)

As you may know, IntelliJ IDEA is a great and widely used IDE for java development. Though it’s worth the cost to buy the ultimate edition, not everyone can buy it and here comes the need for the community edition which is as good but with less features.

One big drawback about community edition is that it doesn’t provide tomcat integration and hence we can’t run/debug a web-application.

In this tutorial, with the help of maven’s tomcat plugin, we can run/debug the application.


By adding the above snippet in pom.xml, we can enable tomcat7 plugin. To debug the application, go to maven projects tool window and run/debug the application as shown below.

intellij idea maven tomcat debug

The same can be done using gradle-tomcat, gradle-jetty and maven-jetty plugins.

This entry was posted in java and tagged , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s