Has anyone has success with getting CLI debugging (drush) working with Xdebug 3.x? There are several obsolete posts here... but all obsolete with the new version of Xdebug.
Expected behavior
After setting a breakpoint in a PHP class or module, that I know is executed when a specific Drush command is run, I would like PHPStorm to stop at the breakpoint.
Debugging when initiated from the browser works beautifully. Drush - nothing. Though it used to before I;
- upgraded to Catalina
- upgraded Xdebug from 2.x to 3.x
Environment:
Local MAMP Drupal 8 / Drush 9.7.2
PHP
PHP 7.4.13 (cli) (built: Nov 30 2020 14:46:04) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.13, Copyright (c), by Zend Technologies