Demonstrates how to leverage PHP's built-in tools, as well as the Xdebug and Firebug extensions and FirePHP library to improve the quality of your code and reduce troubleshooting overhead.
- [Voiceover] Hi, I'm Jon Peck, and welcome to Debugging PHP Advanced Techniques. In this course, we'll look at how to debug your PHP code effectively, using a variety of client and server-side tools. I'll start by showing you how to configure PHP to handle and report warnings, notices and errors. Next, I'll introduce Xdebug, including installation and configuration, then demonstrate how to best use Xdebug. We'll be covering many tools and techniques, including how to debug applications using multiple browsers. Finally, best practices for debugging and profiling web application failures and performance issues will be covered.
The next time an issue needs to be addressed, a full toolkit of options will be available. Now let's get started with Debugging PHP Advanced Techniques.
This course covers installation of Xdebug on Apache as well as working with the NetBeans IDE (integrated development environment). Jon then introduces native web browser developer tools for Firefox and Chrome, and demonstrates browser independent web debugging tools. Best practices for debugging and profiling web application failures and performance issues are also covered.
- Configuring PHP error reporting
- Logging errors to file
- Gracefully handling fatal errors
- Installing Xdebug
- Understanding the principles of remote debugging
- Remote debugging with NetBeans
- Extending your browser with Firebug, FirePHP, or ChromePHP