class_docstr: The debugger interface.
  
  This class handles the drawing of the debugger window and
  the interactions with the underlying debugger session.
docstr: Close the debugger and window.
docstr_tok: ["Close","the","debugger","and","window","."]
code: def close(self, event=None):
      """Close the debugger and window."""
      try:
          self.quit()
      except Exception:
          pass
      if self.interacting:
          self.top.bell()
          return
      if self.stackviewer:
          self.stackviewer.close()
          self.stackviewer = None
      # Clean up pyshell if user clicked debugger control close widget.
      # (Causes a harmless extra cycle through close_debugger() if user
      # toggled debugger from pyshell Debug menu)
      self.pyshell.close_debugger()
      # Now close the debugger control window....
      self.top.destroy()
  
imports: import bdb
  import os
  from tkinter import *
  from tkinter.ttk import Frame, Scrollbar
  from idlelib import macosx
  from idlelib.scrolledlist import ScrolledList
  from idlelib.window import ListedToplevel
label_desc: Use image node_id 3 for calling the Debugger obj's underlying member method code with example usage: obj.close(event) without return types