What's that mean exactly? Errors aren't going to your log file? What do you see when you get errors?
Debugging don't work anymore with Homestead (php7) and phpstrom
Hi,
I recently updated my homesteadbox. Since then I can't debug anymore.
What do I have to configure ?
Thanks for support.
@okaufmann XDebug is still in beta for PHP7. XDebug is not part of the master branch of Homestead. You can either install XDebug manually or revert back to the 2.0 branch with PHP5.6.x
To install it manually do the following inside the Homestead (vagrant) box:
sudo apt-get update && sudo apt-get upgrade && sudo apt-get install php-xdebug
Run the following command and make sure the contents are as below:
sudo nano /etc/php/7.0/fpm/conf.d/20-xdebug.ini
zend_extension=xdebug.so
xdebug.remote_enable=1
xdebug.remote_connect_back = 1
xdebug.remote_port = 9000
xdebug.max_nesting_level = 250
Time to restart PHP FPM
sudo service php7.0-fpm restart
Now you have XDebug running. You might have to update your PHP Interpreter in PHPStorm. You should be able to fix this by going to the Run -> Web server debug validation menu option in PHPStorm.
Follow progress on XDebug here: http://xdebug.org
Please or to participate in this conversation.