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.
** Changed in: tomcat6 (Ubuntu)
Importance: Undecided => Wishlist
** Changed in: tomcat6 (Ubuntu)
Status: New => Triaged
--
tomcat6 needs debug start mode with jpda
https://bugs.launchpad.net/bugs/375493
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs