Netbeans + Xdebug + php not working

前端 未结 8 2168
故里飘歌
故里飘歌 2020-12-18 01:41

My netbeans does not work the breakpoints using xdebug, my configuration looks correct, so I configured the first time I ran up to stop debugging the first time since then h

8条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-18 02:25

    In my case this line needed to be included in the php.ini:

    xdebug.remote_autostart=on
    

    Here is the configuration section for XDebug:

    [xdebug]
    xdebug.remote_enable = on
    xdebug.remote_handler=dbgp
    xdebug.remote_host=localhost
    xdebug.remote_port=9000
    xdebug.idekey="netbeans-xdebug"
    xdebug.remote_autostart=on
    xdebug.profiler_enable = on
    xdebug.profiler_enable_trigger = on
    xdebug.profiler_output_name = cachegrind.out.%t.%p
    xdebug.profiler_output_dir = "d:/wamp/tmp"
    

提交回复
热议问题