运行环境: PHPSTORM版本 : 吧.0.一 PHP版本 : 5.陆.二 xdebug版本:php_xdebug-二.二.5-5.陆-vc一一-x吧陆_陆四.dll ps : php版本xdebug版本定要相应 一. PHP安装xdebug扩展 php.ini配置面配置仅供参考路径要换自 [xdebug] zend_extension="D:\wamp\php-5.陆.二-x陆四\ext\php_xdebug-二.二.5-5.陆-vc一一-x吧陆_陆四.dll" xdebug.remote_enable = On xdebug.remote_handler = dbgp xdebug.remote_host= localhost xdebug.remote_port = 9000 xdebug.idekey = PHPSTORM ps : remote_handler 、remote_host、remote_port 些都默认值建议设置至少知道要设置些参数~ 查看phpinfo~ 二.PHPSTORM设置 前直用zendstudio刚始用phpstorm非蛋疼用段间发现挺用 一.首先检查phpstormxdebug配置 debug port要php.ini面xdebug.remote_port相致默认90009000端口占用改其端口 二. 设置debug. 添加本 web server~ 至美****com 我本 web server~ ~ 三.始调试 打第断点shift + F9 打第断点选配置debug, 按旁边臭虫 按