How To Debug Wordpress Using XDebug and Visual Studio Code

Are you writing a Wordpress Theme, Plugin, or simply something is not working anymore ? Let’s fix it.
Using print_r, echo and dd can be very usefull, but it has its own limits….

To do something more serious and to understand the logic and the flow behind a software you need a debugger.

XDebug is a very good choice and fortunately is very well integrated with VSCode, PhpStorm and others

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store