首先安装xdebug扩展
https://xdebug.org/ 点击下载然后在点击自定义安装说明
php有个phpinfo()函数,需要它在浏览器输出然后查看网页源代码,全部复制粘贴
具体:
zend_extension = D:\xampp\php\ext\php_xdebug-2.6.1-7.0-vc14.dllxdebug.remote_enable=1xdebug.remote__handler=dbgpxdebug.remote_mode=reqxdebug.remote_host=localhostxdebug.remote_port=9000
选择php Web Application
phpstorm开启断点调试
原文地址:https://www.cnblogs.com/lichihua/p/9656926.html