Documentation
IPS_DisableDebug
bool IPS_DisableDebug (int $InstanceID)
Parameters
| InstanceID | ID of the instance |
Returns
If the function succeeds, it returns TRUE, otherwise FALSE.
Description
The function ends the forwarding of debug messages of the instance with the ID InstanceID activated with IPS_EnableDebug before the duration has expired. If the forwarding is not active, the function has no effect. Writing to a file via IPS_EnableDebugFile is not affected by this, use IPS_DisableDebugFile for that.
If InstanceID is an object mirrored via Sync Remote, the function reports the error "Remote instances cannot be debugged". Debug messages of mirrored instances can only be displayed directly on the remote system.
Example
// End the forwarding of debug messages of instance 12345
IPS_DisableDebug(12345);