如何使用NetBeans和Xdebug调试PHP [英] How to debug PHP with netbeans and Xdebug

查看:82
本文介绍了如何使用NetBeans和Xdebug调试PHP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近尝试使用 http://www.smashingmagazine.com/2009/02/11/the-big-php-ides-test-why-use-oneand-which-to-choose/

我从Notepad ++切换的主要原因是我希望能够调试我的代码并进行设置.

My main reason for switching from Notepad++ is that I'd like to be able to debug my code and set through it.

我已按照供应商 http://xdebug.org/上有关如何安装xdebug的说明进行操作netbeans网站. http://www.netbeans.org/kb/docs/php/debugging .html#gettingReady ,但无济于事.

I have followed the instructions about how to install xdebug from both the vendor http://xdebug.org/ and the netbeans web site. http://www.netbeans.org/kb/docs/php/debugging.html#gettingReady but to no avail.

如何完成,是否有人在netbeans中进行过调试?

(我的设置是:Windows XP,Wamp服务器2.0,PHP 5,Netbeans 6.5.1)

推荐答案

此后,我发现WAMP与Mod_rewrite和cURL一起安装时无法应对Xdebug.

I have since found that WAMP, when installed with Mod_rewrite and cURL cannot cope with Xdebug.

这是一个已知错误,并且每次都会崩溃.

It is a known error and crashes everytime.

http://phphints.wordpress.com/2008/10/24/wampserver-phpini-settings-for-use-with-xdebugdll-pear-and-silverstripe-cms-framework/

不幸的是,我也正在使用这两个库.

Unfortunately, I am using these 2 libraries too.

这篇关于如何使用NetBeans和Xdebug调试PHP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆