restoring debugger