While I agree that it is possible to get the same behavior with the
addition of:

JAVA_OPTS="-Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
-Djava.awt.headless=true -Xmx128M"

to default/tomcat6, it is finding this information that is non-trivial.

A simple -d switch, or testing for $DEBUG in the init script would be
much friendlier. If this is the standard debug incantation for tomcat6,
what's wrong with making it so the user doesn't have to google or RTFM
to find it.

Perhaps put something like this in the packages default/tomcat6:

# To enable remore debugging uncomment the following line. You will then be 
able to use a java debugger on port 8000
# JAVA_OPTS="-Xdebug 
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n 
-Djava.awt.headless=true -Xmx128M"

-Bruce

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to