Using WebSphere Version 5 Server Attach to debug

With the WebSphere® v5 Server Attach server type, you can attach to a remote application server and then debug the Web objects running on it. These objects include EJBs, JSP pages, and servlets. In addition, with the server, you can debug integrated Java™, server-side JavaScript™, SQLJ, and JSP pages.
Note: Server Attach only supports debugging WebSphere Application Server Version 5.
Note: Server-side JavaScript debugging is only supported when debugging Web objects that are running on a WebSphere Application Server Version 5.1 (5.1 - 5.1.x).

Once you are debugging Web objects, you can control their execution by setting line breakpoints, suspending execution, stepping through code, and examining the contents of variables. For information about debugging Web objects, see the Java, JavaScript, or Java and mixed language debug online documentation.

To be able to attach to a Web object and begin debugging it, complete these steps:

When you have successfully attached to the application server, the status of the server in the Servers view will change from Stopped to Debugging. After you have finished debugging, you can disconnect from the application server by performing one of the following tasks:

Related tasks
Starting the application server in debug mode
Creating a WebSphere Version 5 Server Attach server
Debug on Server
Editing a WebSphere Version 5 Server Attach server

Feedback