Java debug options

Given that I have to apply these options on a very regular basis, I’d know them by heart.  Nope.


Suspend can be set to “y” if you need to get the debugger attached before anything runs.  Tomcat allows this to be set with

./ jpda run

Documentation on the options themselves is here.

Updated 23/8/2015 for agent-based JDB protocol.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.