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.
Asked
Active
Viewed 924 times
0

Dheerendra
- 1,488
- 5
- 19
- 36
-
Have a look at [Remote debugging of Tomcat using Eclipse](http://davidsblog.eu/remote-debugging-of-tomcat-using-eclipse/). Does this help? – Gerold Broser Nov 02 '14 at 16:45
2 Answers
2
You can use JRebel.
See the answer to this question from stackoverflow for configuring maven with JRebel.
0
use mvnDebug for debugging/breakpoints.
Otherwise if any class change yup you have to restart (in order to recompile)

Olivier Lamy
- 2,280
- 1
- 14
- 12