Debugging

In this Topic Hide

PHP Script Local Debugging

PHP Web Page Debugging

 

The PDT 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.

See above for a list of the different debugging methods PDT includes.

 

PHP Script Local Debugging

Allows you to debug files on your workspace using your internal debugger.
The Internal Debugger enables developers to locally validate freshly developed code before deploying to a web server. The internal option means that files located on your workspace can be debugged.

 

See Locally Debugging a PHP Script for more information.

Note:

Your server must be running the XDebug in order for remote debugging capabilities to function.

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 XDebug in order for remote debugging capabilities to function.

 

 

link_icon.png

Related Links:
Debugging Files and Applications

Running and Analyzing Debugger Results