Step debugging through the PHP engine with GDB/LLDB and Visual Studio Code

You may have already used Xdebug with your favorite IDE to step through your PHP apps line by line, but what happens “behind the curtain” at the C level? That’s where the GDB debugger steps in. In this talk, you will learn to:

Compile PHP from source with debug symbols
Run PHP scripts through the GDB debugger
Control GDB from the command line
Configure Visual Studio Code to step through the C code
By the end of the talk, you should feel more confident in exploring how the sausage is made by stepping through the C code.

Comments

Comments are closed.