Can IntelliJ debug two military files in the same tomcat instance?

I have two web applications, each of which creates a war file. Sometimes I need to run and debug both of them at the same time. The way I do it today is to run Project A on tomcat 6 on port 8080 and Project B on tomcat 7 on port 8181.

I have an IntelliJ setup, so tomcat points to the exploded war file in the target directory. Both projects use Maven (i.e. based on pom). Is there a way to run / debug both of them simultaneously with tomcat 7?

+5
source share
1 answer

On the IDEA tab Tomcat Run/Debug Configuration, Deploymentyou can configure multiple artifacts for deployment in a single instance of Tomcat.

Tomcats, 2 Tomcat Run/Debug . .

+11

All Articles