class_docstr: Context-manager that sets the debug mode on or off.
  
  :class:`set_debug` will enable or disable the debug mode based on its
  argument :attr:`mode`.
  It can be used as a context-manager or as a function.
  
  See :class:`debug` above for more details.
class_docstr_tok: ["Context-manager","that","sets","the","debug","mode","on","or","off",".",":","class",":","`","set_debug","`","will","enable","or","disable","the","debug","mode","based","on","its","argument",":","attr",":","`","mode","`",".","It","can","be","used","as","a","context-manager","or","as","a","function",".","See",":","class",":","`","debug","`","above","for","more","details","."]
code: def __exit__(self, *args: Any) -> None:
      set_debug_enabled(self.prev)
  
file_path: pytorch_geometric/torch_geometric/debug.py
imports: from typing import Any
label_desc: Use image node_id 3 for calling the set_debug obj's underlying member method code with example usage: obj.__exit__() without return types