Debugging portals on remote servers

You must have a remote WebSphere® Portal V6.0, or later, server installation to debug a portal project on a remote server. To debug the portals:

  1. Configure your remote server.

  2. From the Project Explorer view, highlight a portal project and click

    Debug As | Debug on Server.

  3. To use an existing server definition, select

    Choose an existing server and choose the appropriate server version from the list.

    To define a new remote test server, see Defining remote servers for testing portals.

  4. Click

    Finish. After the server starts in debug mode and the portal is deployed, the Web browser that you defined opens to the URL of the portal application on the remote server. The debug perspective opens, for you to step through the code.

Note: If you cannot attach to the remote server, timeouts may cause a problem when the JVM process connects on the remote computer. This happens when the remote computer is busy or if the network is slow. To increase the Java™ debugger timeout value:

  1. Click

    Window | Preferences | Java | Debug.

  2. Adjust the value for

    Debugger timeout.

  3. To save the change, click OK.

 

Related tasks

Testing portals on local servers

Testing portals on remote servers

Debugging portals on local servers

Testing and debugging portals in V 6.0 or later

Defining Web browsers and device emulators