def __init__(self, *args, **kwargs):
        """
        Args:
            args, kwargs: arguments to create `tfdbg.LocalCLIDebugHook`.
                Refer to tensorflow documentation for details.
        """
        from tensorflow.python import debug as tfdbg
        super(TFLocalCLIDebugHook, self).__init__(tfdbg.LocalCLIDebugHook(*args, **kwargs))

        Args:
            args, kwargs: arguments to create `tfdbg.LocalCLIDebugHook`.
                Refer to tensorflow documentation for details.
        
tensorpack/callbacks/hooks.py