<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def interactive(self, bConfirmQuit = True, bShowBanner = True):
 """ Start an interactive debugging session. @type bConfirmQuit: bool @param bConfirmQuit: Set to C{True} to ask the user for confirmation before closing the session, C{False} otherwise. @type bShowBanner: bool @param bShowBanner: Set to C{True} to show a banner before entering the session and after leaving it, C{False} otherwise. @warn: This will temporarily disable the user-defined event handler! This method returns when the user closes the session. """

        print('')
        print("-" * 79)
        print("Interactive debugging session started.")
        print("Use the \"help\" command to list all available commands.")
        print("Use the \"quit\" command to close this session.")
        print("-" * 79)
        if self.lastEvent is None:
            print('')
        console = ConsoleDebugger()
        console.confirm_quit = bConfirmQuit
        console.load_history()
        try:
            console.start_using_debugger(self)
            console.loop()
        finally:
            console.stop_using_debugger()
            console.save_history()
        print('')
        print("-" * 79)
        print("Interactive debugging session closed.")
        print("-" * 79)
        print('')