美文网首页
phpstudy环境下phpstorm配置xdebug

phpstudy环境下phpstorm配置xdebug

作者: 0d601f651140 | 来源:发表于2018-03-29 16:37 被阅读127次

1.php7.2.1的xdebug插件在phpstudy中还没有,如果想用的话得先下载pear然后在下载对应的.dll,非常麻烦所以我的php版本切换到7.0

2.phpstorm相关配置

![微信图片_20180329161648.png](https://img.haomeiwen.com/i2093159/2447ee70b21f9110.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

3.在对应的php.ini版本中加上对应的xdebug路径

xdebug.profiler_output_dir="D:\phpStudy\PHPTutorial\php\php-7.0.12-nts\ext\php_xdebug.dll"

4. phpstorm 配置PHP WEB PAGE

微信图片_20180329161842.png

5.设置断点跟读框架代码(配合Fiddler调试更加方便)

![微信图片_20180329162142.png](https://img.haomeiwen.com/i2093159/d3aac5cf8b4b62bf.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

相关文章

网友评论

      本文标题:phpstudy环境下phpstorm配置xdebug

      本文链接:https://www.haomeiwen.com/subject/qctvcftx.html