-
先查看phpinfo;复制PHPinfo源代码到xdebug 官网 down---> custom installation instructions ->方框里面查看对应的xdebug;然后再去下载;
-
在php.ini 最后一行编写
[Xdebug]
zend_extension = D:\xampp\php\ext\php_xdebug-2.5.4-5.6-vc11.dll
xdebug.remote_enable = 1
xdebug.remote_handler = dbgp
xdebug.remote_mode=req
xdebug.remote_host =localhost