def METHOD_NAME(mode=True):
  """Turn on/off debugging mode.
  Debugging mode prints more information about the construction
  of a network.
  Args:
      mode: True if turned on, False otherwise
  """
  global debug_
  debug_ = mode