原址:http://blog.youkuaiyun.com/u011244446/article/details/53044163
1、phpstrom 官网下载安装包
2、分别下载xdebug wampser安装
3、修改PHP.ini加入
xdebug.remote_enable = On
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_port = 9000
xdebug.idekey = PHPSTROM
使能xdebug模式
4、配置Run/debug configuration 配置运行页面
5、file setting ->Languaes & Frameworks ->php->debug->dbgp proxy 配置IDE KEY ->PHPSTROM,HOST为localhost
6、chorme安装xdebug ,安装文件在扩展程序中找到xdebug helper,然后chorme会显示小虫子。