Dheerendra
Dheerendra

Reputation: 1568

Run dynamic web project with maven in debug mode

I built a dynamic web project with tomcat7 server on maven. To test the project I run mvn tomcat7:run every time anything is changed. This seems to time consuming.
Is there any way to run this in debug mode so I don't have to run project every time I change something in files? mvn --debug doesn't seem to work.

Upvotes: 0

Views: 926

Answers (2)

Neoryder
Neoryder

Reputation: 897

You can use JRebel.

See the answer to this question from stackoverflow for configuring maven with JRebel.

Upvotes: 2

Olivier Lamy
Olivier Lamy

Reputation: 2310

use mvnDebug for debugging/breakpoints.

Otherwise if any class change yup you have to restart (in order to recompile)

Upvotes: 0

Related Questions