Debug command for clean history and logout current session.