PhpStorm 配置 xdebug
2018-12-25 本文已影响0人
guanguans
安装xdebug扩展
安装地址参考
![](https://img.haomeiwen.com/i3827973/3ca6fa4c0f1373e6.png)
配置参考
zend_extension="path/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_host=localhost
xdebug.remote_port=9001
xdebug.remote_autostart=1
xdebug.idekey= PHPSTORM
;xdebug.profiler_enable=0
;xdebug.profiler_output_dir="/path/tmp"
浏览器安装 Xdebug helper
![](https://img.haomeiwen.com/i3827973/2df1675209dab8e0.png)
PhpStorm 配置
![](https://img.haomeiwen.com/i3827973/9e18321e7720ff98.png)
![](https://img.haomeiwen.com/i3827973/22d984bb70757f4a.png)
![](https://img.haomeiwen.com/i3827973/f3a270b813ea2cef.png)
![](https://img.haomeiwen.com/i3827973/8fe7eb8e199a6db5.png)
![](https://img.haomeiwen.com/i3827973/d37ff42fd82038ab.png)
![](https://img.haomeiwen.com/i3827973/0fc1ec7dc4795cb4.png)