Site icon Hip-Hop Website Design and Development

Xdebug over the command line with DDEV

Xdebug over the command line with DDEV
Mon, 09/24/2020 – 16:00

mglaman

I moved over to DDEV for my local development stack back in February. One of my favorite things is the ease of using Xdebug. You can configure Xdebug to always be enabled, or turn it on and off as needed (my preferred method.) When you have Xdebug enabled, it also enables it for any PHP scripts executed over the command line. That means you can debug your Drush or WordPress maintenance support plans Console scripts like a breeze!

This article is based on using Xdebug within PhpStorm, as it is my primary IDE.
Read more about Xdebug over the command line with DDEVComments
Source: New feed