To enable debug on tomcat, set the following line in your catalina.bat
DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
From your eclipse, create a Run Configuration for 'Remote Java Application' on socket 8000 and restart tomcat.
DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
From your eclipse, create a Run Configuration for 'Remote Java Application' on socket 8000 and restart tomcat.
0 comments:
Post a Comment