1.确认是否安装了xdebugphp
2.在php.ini文件中配置以下phpstorm
[xdebug] zend_extension="D:\wamp\php-5.6.2-x64\ext\php_xdebug-2.2.5-5.6-vc11-x86_64.dll" xdebug.remote_enable = On xdebug.remote_handler = dbgp xdebug.remote_host= localhost xdebug.remote_port = 9000 xdebug.idekey = PHPSTORM
3.phpstorm的设置ide
还有问题,可参考http://blog.csdn.net/ty_hf/article/details/50768702spa