Comment 2 for bug 375493

Revision history for this message
Thierry Carrez (ttx) wrote :

Passing arbitrary Java options is supported through setting JAVA_OPTS in /etc/default/tomcat6...
So if you set:
JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -Djava.awt.headless=true -Xmx128M"
You should get desired behavior.

We could modify the init script so that JPDA_DEBUG becomes an option in /etc/default/tomcat6.
Setting this to Wishlist.

Please also note that the tomcat6-user package allows to set up private instances which sound more appropriate for development/debugging.