Debugging portals on local servers

You must have a portal test environment see installation to debug a portlet project, such as a local install of Websphere Portal v6.0, or higher, server.

To debug the portals:

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

    Debug As | Debug on Server.

  2. To use an existing server definition, click

    Choose an existing server and select the appropriate server or test environment version from the list.

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

  3. Click

    Finish. After the server starts in debug mode and the portal deploys, the Web browser that you defined opens to the URL of the portal application on the local server. You can step through the code once the debug perspective opens.

  4. If you change the portal configuration, run these steps again. Any changes made publish to the test environment and opens a new browser to display the changes.

Note: When you run a portal project in a local test environment, portlets not available in the workspace are replaced by a place holder portlet.

 

Related tasks

Testing portals on local servers

Testing portals on remote servers

Debugging portals on remote servers

Testing and debugging portals in V 6.0 or later

Defining Web browsers and device emulators