Jump to content

Turning on debugging at runtime

From NusaATK
Revision as of 23:45, 11 April 2007 by RldDza (talk | contribs)

ATK Howto: Turning on debugging at runtime

Complexity: Easy
Author:

List of other Howto's

How to use smart_debug?

Debugging for selected ip-addresses

$config_smart_debug[] = array("type"=>"ip","list"=>array("195.168.0.10","195.168.0.11"));

This will enabled debugging for the listed IP addresses.

Turn on debugging on the fly

$config_smart_debug[] = array("type"=>"request", "key"=>"magicbeans");

This will not show debugging info by default, unless someone adds