enabling xdebug remote debug makes apache server very slow
In my case this was caused by having xdebug.remote_autostart = 1 set in php.ini. That causes xdebug to try to connect to remote debugger on every request. I had some PHP handled styles, auto_preppend_file and other PHP files in the request and for each of them it waited approximately 2secs, which added up to sth. … Read more