Black Friday: the Laravel testing course is $149 instead of $249, through Dec 7. See the course →
logo

How to setup Xdebug in VS Code

It's easier than you think

Joel Clermont
Joel Clermont
2025-05-29

From our daily Laravel tips email. Get the next one in your inbox.

In a previous video, I used Xdebug to explore how Laravel resolves validation rules. I used PHPStorm, but I had some VS Code users ask how they could do the same thing.

In today's video, I will show the basic steps needed to get Xdebug working in VS Code.

Watch Now (7 min)

And after watching, don't forget to subscribe to our YouTube channel, so you don't miss future videos.

Here to help,

Joel

P.S. Validation is really important in your app, but it doesn't always get the attention it deserves. We've written the ultimate guide to Laravel validation rules to help you get the most out of this powerful feature.

Want a tip like this in your inbox every weekday?

Each one takes less than 2 minutes to read. Join 4,000+ Laravel developers who already get them.

email
No spam. Only real-world advice.
Toss a coin in the jar if you found this helpful.