I had this working on another Drupal VM, but for some reason I can't get it to work anymore. I am trying to debug a drushDrush migration script and I have some breakpoints put in but it never stops at the breakpoints. I followed the steps shown here.
Here is my xdebugXdebug section of config.yml from vagrantVagrant:
The web server debug validation shows everything is good. I also verified that if I debug on a page that I visit from a browser, it does stopstops at breaks points so it is for sure working.
One thing I noticed, is that if I set PhpstorePhpstorm to break at first line in PHP Script, I noticed the following notice in debugger: Can't compute source position. The script 'drush.phar' isn't associated with any text file type.
Here is the xdebugXdebug log:
Any ideas on what I can try to get it to work?
- Destroy vagrant machine and start over
- Different combination of xdebugXdebug settings in config.yml (Set to how it comes by default, removing remote_host, adding localhost, etc..)
- Changing port to 9001 (both PHPStorm and vagrantVagrant)