我尝试使用 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:
滚动到文件底部并设置/添加以下设置:
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 的集成?
发布评论