I was looking a lot but couldn't find any reliable and relatively easy-to-follow answer on how to configure Xdebug CLI debugging in PhpStorm on a local Windows/XAMPP environment.
The context of my question is: I am willing to configure Xdebug so that I can simply set up breakpoints when I run Drupal's drush
commands. This is helpful when debugging migrations for example.
I tried to follow the https://www.jetbrains.com/help/phpstorm/debugging-a-php-cli-script.html instruction, but I don't find it helpful and I don't quite understand it.
I would be enormously grateful if there is anyone that could prepare step-by-step instructions on how to configure it.