![[z/OS]](../images/ngzos.gif)
Attaching a Rational tool to a remote debug session
The following steps describe how to attach an IBM® Rational® Application Developer for WebSphere® Software product to a remote debug session on WebSphere Application Server for z/OS®.
About this task
Remote debugging can prove useful when the program you are debugging behaves differently on a z/OS system than on your local system.
Procedure
- Enable the debug engine on WebSphere Application Server for z/OS using the administrative console. See debugging service details.
- Import the Java™ source code that you want to debug into a Rational Application Developer product and set breakpoints. See topics on setting breakpoints in the Rational Application Developer documentation.
- In the Rational Application Developer product, open a debug perspective and create a debug session configuration.
- Attach the Rational Application Developer product to the WebSphere Application Server for z/OS debug runtime. See topics on remote debugging in the Rational Application Developer documentation.
- Run the Java code in WebSphere Application Server for z/OS to hit the breakpoints set in the Rational Application Developer product.
- Use the debugger controls and features to debug the application.