Debugging portals on local servers

To debug a portal project locally, you will debug the portal application on a WebSphere® Portal test environment server.

  1. From the Project Explorer view, highlight a portal project and select Debug > Debug on Server.
  2. To use an existing server definition, select Choose an existing server and choose a WebSphere Portal test environment server from the list.

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

  3. 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 local server. The debug perspective opens, allowing you to step through the code.
  4. If you have made changes to the portal configuration, run these steps again. The changes are published to the test environment and a new browser opens to display your changes.
Note: When you run a portal project in the local Test Environment, portlets not available in the workspace are replaced by a place holder portlet. When you are testing on a WebSphere Portal v5.1 Test Environment server, the "Login" and "Edit My Profile" portlets are not replaced with place holder portlets.
Related concepts
Debugger
Related tasks
Configuring the WebSphere Portal 5.1 Test Environment
Debugging portals on remote servers
Defining Web browsers and device emulators
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.