0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

homesteadのxdebugが通らなくなった場合

Last updated at Posted at 2019-12-12
vagrant destroy -f && vagrant up
sudo apt-get install php-xdebug
sudo service php7.4-fpm restart

vi /etc/php/7.4/fpm/conf.d/20-xdebug.ini
vi /etc/php/7.3/cli/conf.d/20-xdebug.ini
[xdebug]
zend_extension=xdebug.so
xdebug.remote_enable = 1
xdebug.remote_connect_back = 1
xdebug.remote_port = 9000
xdebug.max_nesting_level = 512
xdebug.remote_host=10.0.2.2
xdebug.remote_log=/tmp/xdebug.log
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?