xdebug

 

 

[xdebug]
zend_extension=/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so
xdebug.default_enable=1
xdebug.remote_enable=1php

xdebug.remote_handler=dbgp
xdebug.remote_host=192.168.10.1
xdebug.remote_port=9000php-fpm

 

另外若是是php-fpm模式 則須要設置 php-fpm.conf文件request_terminate_timeout = 0 防止debug時間長出現502debug

相關文章
相關標籤/搜索