gwomacks / php-debug

Atom Text Editor package for PHP debugging
MIT License
119 stars 31 forks source link

SOME breakpoints not showing any variables and causing Socket Error #269

Closed iainhouston closed 6 years ago

iainhouston commented 6 years ago

Similar to this issue here with Atom php-debug 0.2.6. (although I have it working on PHPStorm so guess Xdebug setup is OK).
With Atom php-debug I get a socket error ... See screenshot below. php-debug works fine at the point when execution hits Drupal's index.php and stepping through some PHP statements thereafter but as things progress towards MYTHEME.theme PHP program statements, php-debug will halt at the breakpoint but will show no variables and the vagrant Apache server will timeout? giving a Bad Gateway

screen shot 2018-03-11 at 11 22 31

First php-debug stops at index.php and shows variables.

screen shot 2018-03-11 at 11 21 37

Then it hits MYTHEME.theme (which is in a directory subordinate to the path mapping that allowed index.php to work. And yes, the statement was green moments before I took the snapshot but the variables were not shown - per the screenshot)

screen shot 2018-03-11 at 11 22 00
cchamplin commented 6 years ago

I'm hoping this was fixed in 0.3.0. Can you update and retest?

iainhouston commented 6 years ago

Tried again with 0.3.3 - still no joy

screen shot 2018-05-07 at 00 02 28
iainhouston commented 6 years ago

Joy! 0.3.4 doing the business! Thanks.