Netbeans + Xdebug + php not working

前端 未结 8 2201
故里飘歌
故里飘歌 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:45

    If you are still stuck you could try the following:

    • Download a new version of xdebug via the wizard (http://www.xdebug.org/wizard.php) and if you follow the instructions maybe you will be lucky.
    • Switching off the firewall might help.
    • Use a different port in netbeans, for instance in my case using 9001 in netbeans and 9000 in xdebug worked.
    • Add to php.ini file: xdebug.idekey=netbeans-xdebug.
    • Find out if you have a xdebug.ini file and add the xdebug related php.ini lines to that file.

    Always make sure that you restart your apache service to test everything.

提交回复
热议问题