laravel5.4 phpstorm xdebug配置

kevin.Zhu 发布于:2017-6-2 11:08 分类:Php  有 17 人浏览,获得评论 0 条  

使用xdebug调试

php.ini

---------------------------------

zend_extension = xdebug.so
xdebug.default_enable = On
; xdebug.max_nesting_level = 50   #这项不要开, 不然框架报错
xdebug.var_display_max_depth = 20
xdebug.dump_once = On
xdebug.dump_globals = On
xdebug.dump_undefined = On
xdebug.collect_params = On
xdebug.cli_color = On
xdebug.remote_host = 127.0.0.1
xdebug.remote_port = 9911
xdebug.remote_enable = On
xdebug.remote_connect_back = On
xdebug.scream = On
xdebug.remote_handler = dbgp
xdebug.remote_log = "/tmp/xdebug-laravel.log"
xdebug.remote_req = req
xdebug.remote_autostart = Off
xdebug.dump.POST = On
xdebug.collect_return = On
xdebug.idekey = PHPSTORM
xdebug.profiler_enable = On
xdebug.profiler_output_dir = /tmp