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
PHP Debugger - Select which debugger will be used by default.
Default Server - Choose which server the debugger will use by default. Click the "PHP Servers" category to be taken to the PHP Servers management page. For more on this, see PHP Servers.
Default PHP Executable - Choose the required default PHP version. Click the "PHP Executables" category to be taken to the PHP Executables management page. For more on this, see PHP Executables.
Debug Transfer Encoding - Click the arrow to select the required transfer encoding from the drop-down
list.
Debug Output Encoding -
Click the arrow to select the required output encoding
from the drop-down list.
Break at First Line - Mark this checkbox to force the debugging process to stop at the first line of code.
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.
|
|
|
To configure a debugger's options:
Zend Debugger Settings dialog
|
|
Workspace Options
Open in Browser - Mark this checkbox to open a browser when launching a Web Page debug session.
Open PHP Debug Views - Mark this checkbox to open the relevant PHP Debug views when the debugging process is run.
Click Apply to apply your settings.
|
|
|
To apply Debug settings to a specific project only:
|
|
|
|
|
Related Links: |
|
|