True/False = Debugging(newVal)
Indicates if the service is running in debug mode
and optionally toggles the debug flag.
Parameters
newVal=-1 : int
If not -1, a new value for the debugging flag.
The result is the value of the flag before it is changed.