Why does xdebug not establish connection with NetBeans?

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

    I used the following with XAMPP 1.8.2 and NetBeans 7.4 with success.

    [XDebug]
    zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
    xdebug.idekey="netbeans-xdebug"
    xdebug.profiler_append = 0
    xdebug.profiler_enable = 1
    xdebug.profiler_enable_trigger = 0
    xdebug.profiler_output_dir = "C:\xampp\tmp"
    xdebug.profiler_output_name = "cachegrind.out.%t-%s"
    xdebug.remote_enable = on
    xdebug.remote_enable = 1
    xdebug.remote_handler = "dbgp"
    xdebug.remote_mode=req
    xdebug.remote_host = "localhost"
    xdebug.trace_output_dir = "C:\xampp\tmp"
    
    0 讨论(0)
提交回复
热议问题