xampp + xdebug + netBeans 调试

xampp  默认自带 xdebug 只是 php.ini 中 是注释掉的
搜索 php.ini 找到如下属性取消注释
 
zend_extension = "D:\xampp\php\ext\php_xdebug.dll"
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=localhost
xdebug.remote_port=9000
 
重启 apache
 
点调试及会出现提示调试工具条
 
 
将监视勾上可以监视指定值,不过xdebug 会不稳定
 
 
 
 
 
参考




原文地址:https://www.cnblogs.com/iiixxxiii/p/3046075.html