Debug Preferences

The Debug preferences page allows you to configure various preferences related to the debugging process.

 

The Debug Preferences page is accessed from Window | Preferences | PHP | Debug.

The settings that can be configured from the debug preferences page are:

Debug Options

Note:

Further PHP encoding options can be accessed from the preferences menu under General | Content Types | Text | PHP Content Type.

Installed Debuggers

Lists the installed debuggers. PDT comes with support for Zend's Debugger and XDebug.

 

 

Instructions on how to complete a procedure

To configure a debugger's options:

  1. Select the Debugger from the list.

  2. Click Configure.
    A Debugger Settings dialog will appear.

Zend Debugger Settings dialog

  1. Enter the required Debug Port.

  2. Click OK.

 

 

Workspace Options

 

Click Apply to apply your settings.

 

 

Instructions on how to complete a procedure

To apply Debug settings to a specific project only:

  1. Select the link labelled "Configure Project Specific Settings".

  2. Select the required project from the list.
    A Debug Properties dialog will appear.

  3. Select the required settings and click Apply.

  4. A prompt dialog will appear stating that a rebuild of the project must occur for the settings to take effect.

  5. Click Yes to rebuild the project. Click No for a rebuild to be performed only when PDT is restarted. Click Cancel to cancel the operation.

 

 

 

Related Links

Related Links:

Launching Preferences

Working with the Debugger Tutorial

Debugging

Run Menu

PHP Support

PHP Preferences