Loading Events

« All Events

Debugging in PHP

September 7 @ 11:30 am 12:30 pm

Already a member? Log in to RSVP

Details

The art of debugging code requires a good understanding of the code base and logical deduction skills. A good debugging tool is like a code mentor that can walk you through the code and help you better understand what is going on, but deductive reasoning is still up to you. In this session, you will learn how to use Xdebug, a PHP debugging tool to:

Step through the code line-by-line
Set break points to pause the code at any point
View the variables that are in scope when the code is paused
Watch variables and functions as you step through the code
Change variable values as the code runs
Investigate the call stack to see the files loaded and functions run
Surface hidden issues in your code