Debugging portals remotely

To debug a portal project on an external server, you will debug the portal application with a WebSphere Portal Server Attach server.

  1. Configure your remote server using the instructions in Preparing WebSphere Portal for remote testing and debugging

  2. From the Project Explorer view, highlight a portal project and select Debug > Debug on Server.

  3. To use an existing server, select Choose an existing server and choose a WebSphere Portal Server Attach server from the list.

  4. To define a new external test server, see Configuring remote servers for testing portals.

  5. 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 external server. The debug perspective opens, allowing you to step through the code.

For limitations regarding firewalls and Linux, refer to Configuring networks for deployment.

 

Related tasks

Defining servers for testing portals
Preparing WebSphere Portal for remote testing and debugging
Configuring Web browsers and device emulators
Debugger