root@homestead:/etc/php/7.1/fpm/conf.d# vim 20-xdebug.ini 

 

zend_extension=xdebug.so

xdebug.remote_enable = 1

xdebug.remote_connect_back = 1

;xdebug.remote_host=192.168.0.102

xdebug.remote_log=/tmp/xdebug.log

xdebug.remote_port = 9000

xdebug.max_nesting_level = 512

xdebug.remote_req = req

xdebug.idekey=PHPSTORM

~                        

 

重启sudo service php7.1-fpm restart   (注意 php版本)

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-25
  • 2022-01-22
  • 2022-12-23
  • 2021-08-19
  • 2022-12-23
  • 2021-08-21
猜你喜欢
  • 2021-06-07
  • 2021-08-09
  • 2022-12-23
  • 2022-12-23
  • 2021-08-15
  • 2021-06-02
相关资源
相似解决方案