To debug a PHP Web Page:
1. Click the arrow next to the debug button on the toolbar and select Open Debug Dialog
-or- select Run | Open Debug Dialog.
A Debug dialog will open.
2. Double-click the PHP Web Page option to create a new debug configuration.
3. Enter a name for the new configuration.
4. Select the Server Debugger to be used . PDT supports both the Zend Debugger and
XDebug.
5. Select your server from the PHP Server list.
If you have not yet configured your server, click New.
The PHP Server Creation Wizard will open.
Configure your server by following the instructions on 'adding a new server' under the PHP
Servers Preferences page.
6. To check whether your server connection is correctly configured, and that PDT can
communicate with your server debugger, click the 'Check Debug Server Connection' button.
7. Under PHP File, click Browse and select your 'debug target' file (the file from which the
debugging process will start.)
8. Select whether the Debugger should stop at the first line of code by marking/unmarking the
'Break at First Line' checkbox.
9. The URL to be debugged will have been automatically created based on the file name and
your server address. If the URL does not point to your debug target's location, unmark the
Auto Generate checkbox and modify the URL.
1. Click the arrow next to the debug button on the toolbar and select Open Debug Dialog
-or- select Run | Open Debug Dialog.
A Debug dialog will open.
2. Double-click the PHP Web Page option to create a new debug configuration.
3. Enter a name for the new configuration.
4. Select the Server Debugger to be used . PDT supports both the Zend Debugger and
XDebug.
5. Select your server from the PHP Server list.
If you have not yet configured your server, click New.
The PHP Server Creation Wizard will open.
Configure your server by following the instructions on 'adding a new server' under the PHP
Servers Preferences page.
6. To check whether your server connection is correctly configured, and that PDT can
communicate with your server debugger, click the 'Check Debug Server Connection' button.
7. Under PHP File, click Browse and select your 'debug target' file (the file from which the
debugging process will start.)
8. Select whether the Debugger should stop at the first line of code by marking/unmarking the
'Break at First Line' checkbox.
9. The URL to be debugged will have been automatically created based on the file name and
your server address. If the URL does not point to your debug target's location, unmark the
Auto Generate checkbox and modify the URL.