Support bulk unhook and debugging switch FUNL_DEBUG