dtf579777 2016-08-04 02:36
浏览 102
已采纳

Netbeans断点不与xdebug一起使用

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?

  • 写回答

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

    to

    ;extension = php_xdebug.dll

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥50 关于#html5#的问题:H5页面用户手机返回的时候跳转到指定页面例如(语言-javascript)
  • ¥15 无法使用此凭据登录,因为你的域不可用,如何解决?(标签-Windows)
  • ¥15 yolov9的训练时间
  • ¥15 二叉树遍历没有报错但无法正常运行
  • ¥15 在linux系统下vscode运行robocup3d上场球员报错
  • ¥15 Python语言实验
  • ¥15 SAP HANA SQL 增加合计行
  • ¥20 用C#语言解决一个英文打字练习器,有偿
  • ¥15 srs-sip外部服务 webrtc支持H265格式
  • ¥15 在使用abaqus软件中,继承到assembly里的surfaces怎么使用python批量调动