::hwat::utils::SetDebugOnOff

This function sets the value of the global debug variable to 1 or 0 depending on the option passed. If no option is passed, the function toggles between 1 and 0.

Syntax

SetDebugOnOff [str_option]

Arguments

str_option
Either "On" or "Off"
Default = ""

Returns

Success
1
Failure
{}

Example

::hwat::utils::SetDebugOnOff "On" .