Debugging with XDebug in VS Code, Bug 1

We learn how to use step debugging in VS Code to fix the first bug in the Buggy plugin.

W fire up Xde­bug and VS Code to debug our first bug in the Bug­gy plu­g­in. We start off by notic­ing that there are no swarms list­ed in the index page even though we cre­at­ed some and they’re in the data­base. Let’s fire up Xde­bug and Php­Storm and get cracking!

We learn how to set a break­point, step into a line of code, step over lines of code, and more.

Transcript

Premium

Follow along with the full transcript

Search every word, click any line to jump to that moment, and read along as you watch — a CraftQuest Premium feature.

Sign up for Premium
Topic
Instructor
Level
Intermediate
Date Published
July 12, 2021