Advanced PHP: Debugging Techniques

Advanced PHP: Debugging Techniques

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 07m | 267 MB

PHP powers the back end of many of the world’s websites. But its extensive range of error levels makes it hard to know what’s what, especially when it comes to capturing relevant information and debugging errors in your code. In this course for experienced PHP developers, instructor Gary Kovar teaches you some advanced techniques to improve your debugging workflow, using both local and non-local tools to fix issues in your code more efficiently.

Learn how to log and correctly identify error levels to capture the right amount of information for fixing a bug. Explore debugging with local development tools like var_dump, WordPress CLI, Laravel artisan tinker, whoops, and Xdebug. By the end of this course, you’ll also be ready to debug on non-local instances by capturing errors remotely with Monolog.

Table of Contents

Introduction
1 Debugging and PHP
2 What you should know

Default Tools for Logging and Identifying Issues
3 Exploring PHP errors
4 Default logging in popular frameworks
5 Configuring PHP error reporting
6 What to log
7 Logging errors to file
8 Logging errors to other locations
9 Understanding back traces

Local Development Tools
10 var dump() debugging Blue-collar debugging
11 What tools are available
12 WordPress CLI shell
13 Laravel artisan tinker
14 Installing and using whoops
15 Installing and using PHP DebugBar
16 Query Monitor for WordPress
17 Ray Dump debugging
18 Xdebug Step debugging

Debugging on Non-Local Environments
19 What tools are available
20 Safety concerns and precautions on remote servers
21 Using Monolog
22 Paid products

Conclusion
23 Next steps

Homepage