I remember Reagan saying after the first debate for his second term that being the incumbent was a lot tougher than he thought it was going to be.
Yes, basically debates are attacking the Incumbent on his actions, and the challenger on his positions, the challenger can say whatever he wants. It’s easy to say, “I would have done A or B”, with the benefit of hindsight.