It would be a really great improvement to have the performance impacts caused by Xdebug only during an active debugging session - without the need to enable and disable Xdebug manually every time.
A great and relatively simple way to do so is described here in detail:
https://jtreminio.com/blog/developing-at-full-speed-with-xdebug/
That means with Xdebug enabled you wouldn't have any performance impacts while just executing the web application. Only in an active debugging session (= when the cookie "XDEBUG_SESSION" is set) the performance impacts take effect.
It would be a really great improvement to have the performance impacts caused by Xdebug only during an active debugging session - without the need to enable and disable Xdebug manually every time.
A great and relatively simple way to do so is described here in detail:
https://jtreminio.com/blog/developing-at-full-speed-with-xdebug/
That means with Xdebug enabled you wouldn't have any performance impacts while just executing the web application. Only in an active debugging session (= when the cookie "XDEBUG_SESSION" is set) the performance impacts take effect.