Issue Summary
When swapping from PHP 7.4.1 to PHP 8.0 in Local, performance slows significantly and the log is flooded with these:
[17-Feb-2021 20:00:00 UTC] Xdebug: [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: 127.0.0.1:9000 (from HTTP_X_FORWARDED_FOR HTTP header), localhost:9000 (fallback through xdebug.client_host/xdebug.client_port)
[17-Feb-2021 20:08:59 UTC] Xdebug: [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: ::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?
I can duplicate this on both sites that our organization owns.
- Are you able to create a new, plain WordPress site in Local and access it in a Browser?
Yes, and it also has this same issue.
Replication
Start a WordPress site, access any page, and watch the logs fill up
System Details
-
Which version of Local is being used?
5.9.8+5191 -
What Operating System (OS) and OS version is being used?
Windows 10 Education, 1909 -
Attach the Local Log. See this Community Forum post for instructions on how to do so:
Attached is the log from the fresh WordPress siteerror.log (10.4 KB) And also Localβs log. local-lightning.log (458.7 KB) .