Sun Java System Web Server 7.0 Update 4 Developer's Guide to Java Web Applications

ProcedureTo Debug using NetBeans 5.5

  1. Press mouse button the Web project name in the IDE. Choose Debug Project from the context menu.

    Web Server will then start in debug mode and the IDE will pause executing the program at the breakpoint you have set in your application.