Why does xdebug not establish connection with NetBeans?

前端 未结 7 1520
醉梦人生
醉梦人生 2021-01-12 06:15

I try using xdebug with NetBeans to debug PHP. I start debug, and NetBeans waits for ever for a connection with xdebug. I have NetBeans 6.8 (latest version) with the latest

7条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-12 06:41

    If your php.ini really looks like what you posted, you have to un-comment the zend_extension line (i.e. remove the ';' at its begninning), so Xdebug is actually loaded.

    Then, make sure Xdebug is loaded, calling phpinfo() from a PHP file (just to be sure).

    After that : I suppose there should be some options to configure the debugger in netbeans ? If so, is netbeans listening on port 9000 ? (The one you configured in php.ini)

提交回复
热议问题