sandman
sandman

Reputation: 119

Disable xdebug trace with xdebug_disable()

How do I check programmatically if xdebug is installed so that I can call xdebug_disable()?

Upvotes: 1

Views: 1234

Answers (1)

tinonetic
tinonetic

Reputation: 8034

Try this:

if(function_exists('xdebug_disable')) 
{ 
   xdebug_disable(); 
}

Upvotes: 2

Related Questions