1.phpstorm设置
php.ini 配置文件最后一行加上如下
zend_extension = D:\phpstudy\Extensions\php\php5.5.9nts\ext\php_xdebug.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扩展打开、phpstudy设置