Debug on Server
Debug on Server will start a server debug session, add the project to the server configuration for the purpose of finding source, and it will launch a browser containing the Web object that is selected. You can launch the Debug on Server action from a selected Web project, or from a selected Web object or Web object source file in a Web project. To launch the Debug on Server action, complete these steps:
If you are debugging a remote version 6 WebSphere Application Server, start it in debug mode.
In a workbench project navigator view, such as the Navigator view or Project Explorer view, locate the Web object or project that you want to debug. You might need to expand the project node and its sub-folders to locate the Web object.
Right-click the Web object and choose Debug > Debug on Server from the pop-up menu.
In the Server Selection dialog box, perform one of the following tasks:
If you have previously created servers that support debugging of the selected application and want to use one of these servers, you can select the Choose an existing server check box, select the server from the selection list, and then click Finish.
If you have not yet created a server for the application that you want to debug, ensure that the Manually define a server radio button is selected and follow the instructions for creating a server.
Tip: When you are selecting or creating a server in the Server Selection dialog box, selecting the Set server as project default (do not prompt) check box will cause this server to be used the next time you use the Debug on Server action to debug the application.
WebSphere Application Server debug limitations
JSP Page Debugging:
Breakpoints CAN be set in JSP files within the following tags:
JSP scriptlets of the form: <% %>
JSP expressions of the form: <%= %>
JSP declarations of the form: <%! %>
jsp:useBean, jsp:getProperty, and jsp:setProperty tags
Breakpoints CANNOT be set for the following tag sets:
All other standard JSP tags (jsp:include, jsp:forward, etc.)
If you are migrating a workspace from an older version of WebSphere Studio to this version then you will need to delete your JSP file breakpoints and recreate them.
Hot Method Replace
JSP page debugging DOES NOT support hot method replace of Java code.