Any decent IDE (like Eclipse, NetBeans, IntelliJ, etc.) is able to debug a remote servlet container. If you're not using an IDE you can use a standalone debugger like JSwat.
Post by:autobot
What? What, what, what? What what tiny ad:
a bit of art, as a gift, the permaculture playing cards