Added check: if DIGABI_DEBUG is defined, debug hooks.