Learn how to improve your debugging workflow in PHP using local and non-local development tools.
Overview
Syllabus
Introduction
- Debugging and PHP
- What you should know
- Exploring PHP errors
- Default logging in popular frameworks
- Configuring PHP error reporting
- What to log
- Logging errors to file
- Logging errors to other locations
- Understanding back traces
- var_dump() debugging: Blue-collar debugging
- What tools are available
- WordPress CLI shell
- Laravel artisan tinker
- Installing and using whoops
- Installing and using PHP DebugBar
- Query Monitor for WordPress
- Ray: Dump debugging
- Xdebug: Step debugging
- What tools are available
- Safety concerns and precautions on remote servers
- Using Monolog
- Paid products
- Next steps
Taught by
Gary Kovar