码迷,mamicode.com
首页 > Web开发 > 详细

phpStudy中Xdebug设置 phpStorm设置

时间:2016-12-19 21:47:10      阅读:618      评论:0      收藏:0      [点我收藏+]

标签:nbsp   系统   append   没有   info   win   port   php   查看   

在windows系统使用phpstduy集成环境,PHP版本为7.0.1,参考网上文章配置后,在phpinof()中没有xdebug信息,  解决方法,拷贝widzrd.php中提示的文件路径,重启phpstudy后,终于有了xdebug。

1.查看php信息, 在Dos窗口中输入 php -i >> d:\phpinfo.txt , 然后把d:\phpinfo.txt中的信息,粘贴到https://xdebug.org/wizard.php网页中,自动判断下载版本。

2.参考网页信息,在php.ini中增加说明。(重点:zend_extension )

[Xdebug]
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir ="D:\phpStudy\debuginfo"
xdebug.trace_output_dir ="D:\phpStudy\debuginfo"
xdebug.profiler_output_name = "cachegrind.out.%t.%p"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port = 9000
zend_extension="D:\phpStudy\php70n\ext\php_xdebug-2.5.0-7.0-vc14-nts.dll"

  

phpStudy中Xdebug设置 phpStorm设置

标签:nbsp   系统   append   没有   info   win   port   php   查看   

原文地址:http://www.cnblogs.com/ShanQiu/p/6200488.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!