Debugging web applications You can debug your web applications on a server to detect and diagnose errors in your application. Procedure Debug a servlet on a server. Debug a JSP file on a server.