Xdebug ignores breakpoints

后端 未结 10 1155
一个人的身影
一个人的身影 2020-12-03 03:41

I am currently trying to get Xdebug to work on our development server. As client I am using netbeans and the connection so far works without problems. But when I try to set

10条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-03 03:50

    The question mentioned that the xdebug.ini file exists, but does not report its contents. My default installation's file only included:

    zend_extension=/usr/lib/php5/20100525/xdebug.so
    

    But in order for debugging to actually happen, it must be enabled. Add this line:

    xdebug.remote_enable=1
    

    Then phpinfo() will report a functioning xdebug:

    enter image description here

提交回复
热议问题