Known debate goes back to at least ancient Greece, where citizens argued cases in courts and policies in assemblies. That created a market for teachers of persuasion, especially the Sophists. Originally, sophist meant something closer to a wise or skilled teacher, not a deceiver. But Plato drew a sharp distinction between philosophy and what he saw as empty rhetoric: the philosopher should care about truth and even welcome being proven wrong. Over time, that criticism helped turn sophistry into our modern word for clever but misleading argument.
Debate continued evolving. The Lincoln-Douglas debates of 1858 are a useful example of good debate. Lincoln and Stephen Douglas debated seven times while campaigning for an Illinois Senate seat, mostly over slavery and its expansion. These were not polite philosophy seminars, but they were substantial: one candidate spoke for an hour, the other for ninety minutes, followed by a thirty-minute rebuttal. Three hours gave both sides room to develop arguments, answer criticism, and let the public hear real differences in their positions.
Modern presidential debates are very different. Television added performance and winning back into the mix. The famous Kennedy and Nixon debate of 1960 started it all. Today the format gives voters some useful information, but it also rewards sophistry. It rewards quick answers, attacks, and meme-like content. Presidential debates can tell us something about communication under pressure and command of issues, but that is only a small part of the actual job of governing.