The following issue, originally detailed at Could not connect to debugging client for an older version of the Local app, is still happening on all sites. Other, similar threads in the forums don’t provide a solution. Modifying the php.ini to use port 9003 doesn’t work.
Issue Summary
In debug log, it is spamming this error message:
[05-Jun-2021 16:01:57 UTC] Xdebug: [Step Debug] Could not connect to debugging client. Tried: 127.0.0.1:9000 (from HTTP_X_FORWARDED_FOR HTTP header), localhost:9000 (fallback through xdebug.client_host/xdebug.client_port) :-(
[05-Jun-2021 16:01:58 UTC] Xdebug: [Step Debug] Could not connect to debugging client. Tried: 127.0.0.1:9000 (from HTTP_X_FORWARDED_FOR HTTP header), localhost:9000 (fallback through xdebug.client_host/xdebug.client_port) :-(
[05-Jun-2021 16:01:58 UTC] Xdebug: [Step Debug] Could not connect to debugging client. Tried: 127.0.0.1:9000 (from HTTP_X_FORWARDED_FOR HTTP header), localhost:9000 (fallback through xdebug.client_host/xdebug.client_port) :-(
Troubleshooting Questions
- Does this happen for all sites in Local, or just one in particular?
Yes. - Are you able to create a new, plain WordPress site in Local and access it in a Browser?
Yes.
Replication
System Details
- Which version of Local is being used?
6.4.0+5927 - What Operating System (OS) and OS version is being used?
MacOS 12.4