Home

 

Debugging a Web application on a remote server

You can connect to and debug a Java Web application that has been launched in debug mode on a remote application server. When debugging a remote program the Debug perspective has the same features as when debugging locally-the difference is that the application is on a remote JVM and the debugger must attach to the JVM through a configured debug port. The debugging machine must also map the debug information to its locally stored copy of the source code, so it is important that the source code on the debugger machine matches what is deployed.

The following example scenario includes a node where Application Developer v7.5 is installed (Developer node), and a separate node where IBM WebSphere Application Server v7 is installed (Application Server node). The developer node attaches to the Application Server Node and controls it through a debugger.

Tip: If you defined a second server profile in (AppSRV02) in Chapter | 2, Servers and server configuration, you can use this server for debugging on a remote server.

ibm.com/redbooks