debug

debug — controls amount of debug output.

Synopsis

       
(debug [debug_level])
	

Parameters

debug_level

Optional level of detail of debug information. Returns the current level if not specified. A value of 0 turns off all debug information, with increasingly higher numbers providing more detailed information. Most drivers use numbers in the range of 1-5.

Returns

On success, (debug n) where n is the current debug level. Otherwise (error).

Description

This command controls the amount of debug information sent by the driver to the debug output, normally the console. Default debug mode is at level 1, providing only minimal status information. The command can be added into the configuration file (for example, to turn off all output), but is normally reserved for troubleshooting.

Example

(debug 2)