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'
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.
sudo nc -l 9002
, - , Google , .
sudo netstat -taupen, , HHVM 9000 VM, , , hhvm: false homestead.yaml .
sudo netstat -taupen
hhvm: false
, phpinfo() "HipHop", Google HHVM.
phpinfo()
, , - , . , homestead provision HHVM , xdebug .
homestead provision
, xdebug ini php fpm, nginx . sudo service php5-fpm restart.
sudo service php5-fpm restart
.
:
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.
, .
. .
, - , .