Discover how to use built-in PHP tools, as well as the Xdebug and Firebug extensions and FirePHP library, to improve the quality of your code and reduce troubleshooting overhead.
Overview
Syllabus
Introduction
- Welcome
- Using the exercise files
- What you should know
- Exploring PHP error levels and consequences
- Configuring PHP to report what went wrong
- Logging errors to file
- Triggering and repairing PHP errors
- Gracefully handling fatal errors
- Deciphering backtraces
- What is Xdebug and how can it be used?
- Installing the Xdebug extension
- Displaying variables with Xdebug
- Exploring remote debugging principles
- Xdebug remote debugging with NetBeans
- Profiling performance to find bottlenecks
- Extending Firefox with Firebug and FirePHP
- Integrating ChromePHP
- Using PHP_Debug to debug without a console
- Best practices
- Where to go from here
- Goodbye
Taught by
Jon Peck