1.下载xdebug,找到php对应的版本,php5.3之前的的后要接_ts,如zend_extension_tsphp
http://www.xdebug.org/download.phpchrome
在c盘windows下找到php.ini,再后加入windows
PHP home:选择自行安装的服务器
PHP Debugger:下拉框中选择 Xdebug ide
3.进入File>Settings>PHP>Debug spa
Debug port:插件
这里设置为9000 命令行
与服务器端配置相同 debug
xdebug.remote_port=9000 调试
4.进入File>Setting>PHP>Debug>DBGp Proxy
IDE key: PHPSTORM
Host:localhost
Port:80
PHPStorm
5. chrome下载
xdebug helper