close

[Solved] Xdebug Could not connect to debugging client. Tried: localhost:9000

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Xdebug Could not connect to debugging client. Tried: localhost:9000 in php. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Xdebug Could not connect to debugging client. Tried: localhost:9000 Error Occurs?

Today I get the following error Xdebug Could not connect to debugging client. Tried: localhost:9000 in php.

How To Solve Xdebug Could not connect to debugging client. Tried: localhost:9000 Error ?

  1. How To Solve Xdebug Could not connect to debugging client. Tried: localhost:9000 Error ?

    To Solve Xdebug Could not connect to debugging client. Tried: localhost:9000 Error I found that using
    xdebug.log_level=0
    stopped the excess logs.

  2. Xdebug Could not connect to debugging client. Tried: localhost:9000

    To Solve Xdebug Could not connect to debugging client. Tried: localhost:9000 Error I found that using
    xdebug.log_level=0
    stopped the excess logs.

Solution 1


I found that using

xdebug.log_level=0

stopped the excess logs.

Solution 2

Please, update your xdebug file to:

xdebug.mode=debug
xdebug.start_with_request=yes
xdebug.discover_client_host=1

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read

Leave a Comment