用的是xamp
php.ini配置如下
[xdebug]
zend_extension=C:\xampp\php\ext\php_xdebug-2.5.1-5.6-vc11.dll
xdebug.remote_enable = off
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.show_local_vars=0
xdebug.idekey=PHPStorm
xdebug.remote_enable = On
xdebug.remote_host=localhost
xdebug.remote_port=9001
xdebug.remote_handler=dbgp
zend_extension=C:\xampp\php\ext\php_xdebug-2.5.1-5.6-vc11.dll
xdebug.remote_enable = On
xdebug.remote_handler = dbgp
xdebug.remote_host= localhost
xdebug.remote_port = 9000
xdebug.idekey = PHPSTORM