Debugging

This section describes running and debugging PHP scripts when using the PDT.

Running a PHP Script

You can initiate a Run of a PHP script in several different ways. In all cases, the difference is only in the specific location that the run is initiated.

To Initiate a Run

  1. Click on the Run icon (). The current script will run; -or-

  2. Click on the Run icon's drop down arrow. Select:

  1. Click on the Run Menu item. This will open a drop down menu. Select::

  2. Right click on an open PHP Editor. This will open a drop down menu. Select::

  1. Right click on a PHP file element in the PHP Explorer or in the Navigator. This will open a drop down menu. Select::

  2. Right click on the left Annotation bar of a PHP script. This will open a drop down menu. Select::

Output

Run output is displayed in the following views:

Configuring Run Parameters

Each PHP script must be configured in order to run. If the script has not yet been configured, initiating a Run will automatically open the Configuration dialog.

Configuring Runs