Xdebug: [Step Debug] Could not connect to debugging client

Issue Summary

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) :-( recurring error flooding the logs and turning off xdebug does not work

Troubleshooting Questions

This seems to happen on any of the instances where I have PHP 8.0.0 applied.

Any changes to the conf/php8.0.0/php.ini.hbs do nothing.
I tried to turn xdebug off but any changes to the conf/php8.0.0/ seem to be ignored. I tried these
xdebug.mode=off
xdebug.show_error_trace=0
xdebug.scream=false

Replication

  • Apply PHP 8.0.0 to any of the projects
  • Access any of the site pages
  • The PHP error log gets flooded with the recurring error

System Details

  • Local 6.3.0 + 5756
  • macOs Catalina 10.15.7

I have the same problem, hoping someone can reply to OP from over a month ago?

For PHP8 you must listen on port 9003

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.