How to debug PHP with netbeans and Xdebug(如何使用 netbeans 和 Xdebug 调试 PHP)
问题描述
我最近尝试使用 杂志评论后高度评价S.T.T..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 server 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何使用 netbeans 和 Xdebug 调试 PHP


基础教程推荐
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- 如何替换eregi() 2022-01-01
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01