XDebug could not connect to client

后端 未结 3 824
忘掉有多难
忘掉有多难 2020-12-31 05:47

I am trying to debug with NetBeans Mac locally.

This is my php.ini

[xdebug]
 xdebug.default_enable=1
 xdebug.remote_enable=1
 xdebug.remote_handler=d         


        
3条回答
  •  天命终不由人
    2020-12-31 06:14

    Xdebug's default port (9000) conflicts with FastCGI (Xdebug was first!) - the solution is to change it to another port. After having done that, you need to restart your IDE where you will also need to configure the new port. You will also need to restart PHP and your Web Server.

提交回复
热议问题