Debugging
PDT's debugging function allows you to test your files and applications and detect errors in your code.
The debugger allows you to control the execution of your program using a variety of options including setting breakpoints, stepping through your code, and inspecting your variables and parameters.
PDT includes two different debugging methods:
PHP Script Local Debugging
Allows you to debug files on your workspace using
PDT's
internal debugger.
The Internal Debugger enables developers to locally validate freshly developed
code before deploying to a web server. The internal option means that
only files located in local directories can be debugged. When debugging
internal files the PDT Internal Debugger uses its own PHP
executable that was installed together with PDT.
See Locally Debugging a PHP Script for more information.
PHP Web Page Debugging
Allows you to debug applications situated on a server. It allows you to debug whole applications, including any required interactive user input.
Note:
It's recommended that your local project structure reflect the project structure on your server.
See Debugging a PHP Web Page for more information.
Note:
Your server must be running the Zend Debugger
or XDebug in order for remote debugging capabilities to function.
The Zend Debugger comes bundled with Zend Core and Zend Platform, but can
also be downloaded as a separate component from http://www.zend.com/en/products/studio/downloads.
|
|
|
Related Links: |
|
|