2016-08-04 02:36
浏览 101


Right i'm pulling my hair out on this one.

I'm using Netbeans, EasyPHP, and Installed xdebug using by copy/pasting my phpinfo() results into the xdebug wizard which then tells you which .dll file you need to download.

Well i've followed all the instructions, my phpinfo() now says xdebug is installed, I've added the appropiate lines in my php.ini file. However, my breakpoints in Netbeans do not work! I know that xdebug is installed because if I manually add xdebug_break() to my code then they act as a breakpoint.

How can I get netbeans and breakpoints to work without manually using the xdebug php function everytime ?!

PS. I know this question has been asked a million times but I've followed the other solutions and none have fixed my problem!

I'm using XP if that shines any light on the matter?

图片转代码服务由CSDN问答提供 功能建议


我正在使用Netbeans,EasyPHP和Installed xdebug,将我的phpinfo()结果复制/粘贴到xdebug向导中,然后告诉你需要下载哪个.dll文件。< / p>

我已经按照所有说明操作了,我的phpinfo()现在说安装了xdebug,我在php.ini文件中添加了适当的行。 但是,我在Netbeans的断点不起作用! 我知道xdebug已经安装,因为如果我手动将 xdebug_break()添加到我的代码中,那么它们就可以作为断点。

如何将netbeans和断点连接到 没有手动使用xdebug php函数每次工作?!

PS。 我知道这个问题已被问了一百万次,但我已经按照其他解决方案而没有解决我的问题!


  • 写回答
  • 好问题 提建议
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • dornc9470 2016-08-04 05:52

    After many painful hours, I have found out that I had both:

    extension = php_xdebug.dll

    uncommented in my php.ini file and:

    zend_extension = C:\path-to-xdebug-file\php_xdebug.dll

    added in my php.ini file. You're supposed to have one or the other!

    Anyway I changed

    extension = php_xdebug.dll


    ;extension = php_xdebug.dll

    解决 无用
    打赏 举报

相关推荐 更多相似问题