1.进入 http://xdebug.org/wizard.php 页面,新建一个php页面,里面输入 echo phpinfo(); 然后在运行的页面,复制页面内容到里面,
这个网站会分析出,当前运行的php版本,是否是线程安全等内容,然后给出一个链接去下载对应的xdebug版本。
 
2.给出的分析的结果和操作步骤,很方便
Netbeans配置Xdebug
 
 
3.通过上述步骤,调试代码时,还是显示连接 netbeans-xdebug信息。
 
4.在zend_extension后面加入下面几段代码,可以调试成功。
  xdebug.remote_enable=true
  xdebug.remote_handler=dbgp
  xdebug.remote_host=localhost
  xdebug.remote_port=9000
php.ini修改过的代码如图所示:
Netbeans配置Xdebug

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
  • 2021-11-26
  • 2022-12-23
  • 2021-12-29
  • 2021-10-29
猜你喜欢
  • 2021-12-14
  • 2022-12-23
  • 2021-04-11
  • 2021-07-11
  • 2022-12-23
  • 2021-09-29
相关资源
相似解决方案