Why does xdebug not establish connection with NetBeans?

前端 未结 7 1630
醉梦人生
醉梦人生 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:42

    for me worked this way (thank you guys +1) /o/

    zend_extension = "c:\xampp\php\ext\php_xdebug2.dll"
    xdebug.remote_autostart=on
    xdebug.remote_enable=on
    xdebug.remote_enable=1
    xdebug.remote_handler"dbgp"
    xdebug.remote_host="localhost"
    xdebug.remote_port=9000
    xdebug.remote_mode=req
    xdebug.idekey="netbeans-xdebug"
    

    Config:
    netbeans 7.3 - php 5.4 - xdebug 2.2 - xampp - win7(32bits)

提交回复
热议问题