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