venerdì 11 novembre 2011

Tomcat Debug Mode [ENG]

Just a quick note. To start Tomcat in debug mode:

%java_bin%\bin\java.exe 
-Xms48m 
-Xmx384m 
-Xdebug 
-Xrunjdwp:transport=dt_socket,address=1044,server=y,suspend=n 
-jar -Duser.dir="%catalina_home%" "%catalina_home%\bin\bootstrap.jar" start

In Eclipse create a new Debug Configuration/Remote Java App, Standard (Socket Attach) with the actual Host and Port (1044 in my example)

Nessun commento: