NetBeans has had support for debugging web apps (JSP specifically) for several versions now. Chapter 4 in my book covers debugging extensively, though I don't specifically cover JSP debugging. However, it really isn't much different from straight Java source file debugging and all the features of the debugger are quite similiar. After reviewing chapter 4,
you should have an excellent command of the debugger and be able to easily use it with web applications.