Home » Products » UEStudio » PHP Debugging Support

UEStudio integrated development environment tour: PHP Debugging

The UEStudio tour is intended to guide you through some of the advanced IDE features of the application. UEStudio includes all of the features of UltraEdit, the world's best text editor, which are not covered here.

UEStudio tour: PHP Debugging

UEStudio supports debugging PHP scripts through integration with a web server run locally (Apache) and XDebug, which is installed and run externally. You can download the files you need for PHP Debugging by going to Advanced -> Configuration -> IDE -> Debugger -> XDebug -> Download.

Once you have installed Apache, PHP, and XDebug, you are ready to begin debugging scripts in UEStudio!

Your PHP application needs to be part of a project first so UEStudio can parse it and understand the application logic for debugging. You can learn more about working with projects at our "Project Settings" power tip.

Once you have Apache started with XDebug, you're ready to run your script in debug mode. Click the "Start Debugger" button on the debugger toolbar:

...and UEStudio will begin "listening" for a connection on localhost as indicated in the output window:

Next, you can execute your script in debug mode by adding a variable setting to the script's URL in the browser:

Once you press Enter to launch the script in the browser (client), UEStudio will act as the server and will provide status updates on the script in the output window:

UEStudio will open the active PHP script file (if it's not already open) and indicate which line of the script is being executed:

Additionally, the debug toolbar buttons will then be activated and provide you with several different options for stepping through and debugging your PHP script:

For more information on the functionality of the debug toolbar, please see our integrated debugger tour page.

The call stack window and variables window will also be populated with information from your active PHP script, and a watch window is available for you to watch selected script components.

UEStudio tour topics

Back to top