安装wampserver后,同时在apache2.4.23\bin\php.ini 和 php\php5.6.25\php.ini 文件最末尾新增:
**[xdebug]
zend_extension ="c:/wamp/bin/php/php5.6.25/zend_ext/php_xdebug-2.4.1-5.6-vc11.dll"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_mode = "req"
xdebug.remote_port = 9000
xdebug.idekey="PHPSTORM"
xdebug.remote_cookie_expire_time = 7200
**
其它参见