xdebug homestead phpstorm
Xdebug
Laravel Homestead 4.0 amb PHP 7
Xdebug is not installed I've followed (with some changes) the steps at:
http://xdebug.org/wizard.php
In my case:
$ wget http://xdebug.org/files/xdebug-2.4.0rc3.tgz
$ tar xvzf xdebug-2.4.0rc3.tgz
$ cd xdebug-2.4.0RC3/
$ phpize
$ ./configure
$ make
$ sudo cp modules/xdebug.so /usr/lib/php/20151012/
$ cd /etc/php/7.0/fpm/conf.d/
Creat file /etc/php/7.0/fpm/conf.d/20-xdebug.ini with following content:
; configuration for php xdebug module
; priority=20
zend_extension=/usr/lib/php/20151012/xdebug.so
xdebug.idekey = "phpstorm"
xdebug.remote_enable = 1
xdebug.remote_connect_back = 1
xdebug.remote_port = 9000
xdebug.max_nesting_level = 300
xdebug.scream = 0
xdebug.cli_color = 1
xdebug.show_local_vars = 1
Now restart:
$ sudo service php7.0-fpm restart
Laravel Homestead anterior a 4.0
Per a versions anteriors a 4.0 podeu seguir les instruccions de:
PHP_Debug#Homestead
Passar màquina Homestead de Virtual Box a Proxmox
https://www.paolodavila.com/mediawiki/index.php/VirtualBox#Copiar_a_Proxmox
Tips & Tricks
Recover homestead command on Laravel 5.x