Beto Aveiga Beto Aveiga - 3 months ago 12
PHP Question

How to disable XDebug

I think that my server became slow since I installed XDebug.
So, in order to test my hypothesis I want to disable XDebug completely.
I've been searching for tutorials on how to do this but I can't find such information.

Answer

Find your php.ini and look for XDebug.

Set xdebug autostart to false

xdebug.remote_autostart=0  
xdebug.remote_enable=0

Disable your profiller

xdebug.profiler_enable=0

Check out this post XDebug, how to disable remote debugging for single .php file?