2026 Community Survey results are here! See how the Craft CMS community works. results are live!

Debugging with Xdebug in PhpStorm, Bug 1

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

In this video, we jump right in and 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.

Topic
Instructor
Level
Intermediate
Date Published
July 12, 2021