MediaWiki-Docker/Configuration recipes/Disable XDebug for better performance
Disable XDebug for better performance
editPrior to splitting PHP-FPM into its own container and upgrading to Xdebug 3, it was sometimes desirable to run a container without the Xdebug build.
In the current version of MediaWiki-Docker, you can disable Xdebug and Xhprof entirely by setting XDEBUG_ENABLE
and XHPROF_ENABLE
to "false" in your .env
file. Here's an example:
XDEBUG_ENABLE=false
XHPROF_ENABLE=false