Homestead 2 xdebug not working

I have a Vastrant VM installation. Xdebug is configured for remote debugging.

I see it here / etc / php 5 / fpm / conf.d / 20-xdebug.ini and doing php -i | grep 'xdebug'

I set a breakpoint in my index.php by default and clicked “start listening to PHP debugging connections” in my PHP IDE method.

I installed the xdebug helper for chrome and turned it on, also setting the PHPstorm IDE string settings in it.

I tried installing different ports in the IDE and xdebug settings.

I also tried listening on these ports using sudo nc -l 9002 both the hosts and the guest computers, nothing happens, so the problem here is definitely related to the xdebug settings on the PHP server.

+4
source share
2

, - , Google , .

sudo netstat -taupen, , HHVM 9000 VM, , , hhvm: false homestead.yaml .

, phpinfo() "HipHop", Google HHVM.

, , - , . , homestead provision HHVM , xdebug .

, xdebug ini php fpm, nginx . sudo service php5-fpm restart.

+3

.

:

PHP7, Laravel 5.3

vagrant ssh

sudo apt-get purge hhvm && sudo service nginx restart

hhvm xDebug .

:

laravel/homestead hhvm , !

. (Laravel 5.3)

hhvm: false Homestead.yml !

Homestead.yml, , hhvm 9000...

xDebugs 9089, . (, fpm)

- hhvm vm.

, .

. .

, - , .

+3

All Articles