If activated, debugging messages are sent to the debugging handlers.
It makes sense to deactivate it for speed issues.
This function is not threadsafe. It makes sense to only call it during initialization.