ubuntu 下 安装xdebug

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_port = 9000

xdebug.max_nesting_level = 512

xdebug.remote_req = req

xdebug.idekey=PHPSTORM

~                        

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

猜你喜欢

转载自www.cnblogs.com/wzjwffg/p/10239832.html