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…