如何使用 NetBeans 与 WAMP 2.2.21 的集成?

编程入门 行业动态 更新时间:2024-10-27 19:29:54
本文介绍了如何使用 NetBeans 与 WAMP 2.2.21 的集成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我尝试使用 NetBeans IDE 7.1.2,但我在设置方面遇到了一些问题.我无法成功运行调试器.我不想使用 Xdebug 我有一个 WAMP 并且它在 eclipse 中工作正常,因为我有一些与 OOP 和表单相关的 eclipse 错误.我决定安装额外的调试器 NetBeans.我在网上阅读了一些教程,但没有帮助我分配.

I try to work with NetBeans IDE 7.1.2 and I have some problem with the setting. I can not successfully run the debugger. I don't want to use to Xdebug I have a WAMP and it works OK with eclipse since I have some error from eclipse related to OOP and form. I decide to install additional debugger the NetBeans. I read some tutorial on the web and it has not helped me allot.

1.我不知道如何在 NetBeans 中定义文件 php.ini .2.我不知道要在php.ini中添加什么行.

1.I Don't know how to define in NetBeans the file php.ini . 2.I Don't know what line to add to php.ini.

感谢任何帮助.

推荐答案

当您全新安装 Netbeans 和 Wamp 时,调试工作真的并不难.您可以这样做:

When you have fresh install of Netbeans and Wamp, it's really not that hard to get debugging working. Here's what you do:

  • 点击 wamp 图标并选择 PHP->php.ini.
  • 滚动到文件底部并设置/添加以下设置:

  • Click the wamp icon and choose PHP->php.ini.
  • Scroll to the bottom of the file and set/add the following settings:

    xdebug.remote_enable = onxdebug.remote_handler = dbgpxdebug.remote_host = localhostxdebug.remote_port = 9000

    xdebug.remote_enable = on xdebug.remote_handler = dbgp xdebug.remote_host = localhost xdebug.remote_port = 9000

    重启所有服务.

    如果您仍然无法使用调试器,可能是因为防火墙阻止了 netbeans.

    If you still can't use the debugger, it could be because the firewall is blocking netbeans.

  • 更多推荐

    如何使用 NetBeans 与 WAMP 2.2.21 的集成?

    本文发布于:2023-10-20 08:52:19,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1510502.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:如何使用   NetBeans   WAMP

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!