Local and remote debugging

With the debugger's client/server design, you can debug programs that are running on WebSphere® Application Server on a remote machine or on your workstation. If you debug a program running on your workstation, you are performing local debugging. If you debug a program running on a system accessible through a network connection, you are performing remote debugging.

With remote debugging, you can run the application on one system and control it from your workstation. The local system runs the debugger user interface, and the remote system runs both the debug engine and your program. To be able to debug remotely, you need access to the remote machine where the program files you are debugging reside. Source files used to compile the program files can be located on the remote machine or the local system. The debug engine is controlled through the Bean Scripting Framework (BSF) running on the application server. Whether on a local or remote system, when you start the application server (enabled for debugging), the BSF debug manager begins listening for a connection. The connection is made when you launch a debug session and attach to the JVM and BSF port.

When debugging remotely, you might need to configure a rule for or turn off your personal firewall. Some corporations have firewalls that might not allow you to connect to an offsite machine. To determine if there are any actions you can take to connect to the remote machine, contact your site administrator

Why Use Remote Debugging?

Remote debugging can prove useful in any number of situations, such as:


Feedback