Laragon+PHP7中开启xdebug

状态 :laragon+php7.2,按管方做法要求用的是xdebug2.7.结果2.7版本放进去一打断点就挂了,于是换成2.6的版本,

php.ini中配置如下:

[Xdebug]
zend_extension=xdebug
xdebug.collect_params=1
xdebug.collect_return=1
xdebug.auto_trace=0
xdebug.trace_output_dir="D:laragonxdebug	race"
xdebug.profiler_enable=0
xdebug.profiler_output_dir="D:laragonxdebugprofiler"
xdebug.max_nesting_level=100//(laravel里这里改成600,不然有错提示)
xdebug.remote_enable=1
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp

  文件自己另外保存了

原文地址:https://www.cnblogs.com/bing2017/p/10716767.html