zend_extension = "D:\xampp\php\ext\php_xdebug.dll" xdebug.remote_enable =1 xdebug.remote_handler = "dbgp" xdebug.remote_host = "localhost" xdebug.remote_mode = "req" xdebug.remote_port = 9000
打开你的XAMPP点击Apache后面的config按钮,找到PHP.ini点击进入,在PHP.ini最后面加上上面的代码.
zend_extension = "F:\xampp\php\ext\php_xdebug.dll"根据你的XAMPP安装路径,自己修改.