Skip to main content
Bumped by Community user
Bumped by Community user

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)

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 drush migration script and I have some breakpoints put in but it never stops at the breakpoints. I followed steps shown here.

Here is my xdebug section of config.yml from vagrant:

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 stop at breaks points so it is for sure working.

One thing I noticed is that if I set Phpstore 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 xdebug log:

Any ideas what I can try to get it to work?

  • Destroy vagrant machine and start over
  • Different combination of xdebug settings in config.yml (Set to how it comes by default, removing remote_host, adding localhost, etc..)
  • Changing port to 9001 (both PHPStorm and vagrant)

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 Drush 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 Xdebug section of config.yml from Vagrant:

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 stops at breaks points so it is for sure working.

One thing I noticed, is that if I set Phpstorm 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 Xdebug log:

Any ideas on what I can try to get it to work?

  • Destroy vagrant machine and start over
  • Different combination of Xdebug settings in config.yml (Set to how it comes by default, removing remote_host, adding localhost, etc..)
  • Changing port to 9001 (both PHPStorm and Vagrant)
Tweeted twitter.com/StackDrupal/status/867356570707001344
edited tags
Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284
added 287 characters in body
Source Link
albertski
  • 3.5k
  • 4
  • 25
  • 48

Update - Things I have tried

  • Destroy vagrant machine and start over
  • Different combination of xdebug settings in config.yml (Set to how it comes by default, removing remote_host, adding localhost, etc..)
  • Changing port to 9001 (both PHPStorm and vagrant)

Update - Things I have tried

  • Destroy vagrant machine and start over
  • Different combination of xdebug settings in config.yml (Set to how it comes by default, removing remote_host, adding localhost, etc..)
  • Changing port to 9001 (both PHPStorm and vagrant)
added 3641 characters in body
Source Link
albertski
  • 3.5k
  • 4
  • 25
  • 48
Loading
added 224 characters in body
Source Link
albertski
  • 3.5k
  • 4
  • 25
  • 48
Loading
added 57 characters in body
Source Link
albertski
  • 3.5k
  • 4
  • 25
  • 48
Loading
Source Link
albertski
  • 3.5k
  • 4
  • 25
  • 48
Loading