Create a free account to get access to additional free training videos. Enjoy this free video from CraftQuest! Create a free account to get access to additional free training videos. Join the Community
In this course we'll learn that we can ditch var_dump() and dd() and move to a more powerful, faster, and easier way to debug problems in our code.
In this course we’ll learn that we can ditch var_dump()
and dd()
and move to a more powerful, faster, and easier way to debug problems in our code. the fundamentals of working with Xdebug in multiple localhosting enviroments and in the two most popular IDEs for PHP programming: PhpStorm and VSCode.
The goal of the course is to get you dump var_dump()
and dd()
. You think I’m kidding but, really, that’s my goal. If you saw me out on the streets of Paris in summer of 2022 and I asked you what you used to work through that tough bug in your fancy new plugin, you’d yell from the top of the Eifel Tower: RYAN, I USED XDEBUG! And then I’d give two thumbs up in your general direction.
The boring version of this goal is that I want you to become comforatble setting up, configuring, and using Xdebug in differenet types of development environments, as well as becoming famimliar different debugging strategies and techniques.
While our work in this course will focus on projects running Craft CMS, there’s no reason you couldn’t take what you’ve learned here and apply to other frameworks, CMSses, and projects. Like everything I teach, I’m trying to help you learn a framework for a tool, so you can take that framework and apply it elsewhere. It’s like recycling your soda cans except for knowledge.
I’m trying to cover as many localhosting setups as feasible that easily support Xdebug out-of-the-box. If you are using something that doesn’t support Xdebug, then you should consider choosing a tool that does. There are so many good localhosting tools now that there’s not a good reason to use something that isn’t modern, robust, and supports the best practices for local development.
Okay, with that out of the way, let’s move on the next video and talk about what Xdebug is. What is this thing anyway?
Debugging with Xdebug is made up of the following videos: