Explain why the comma is needed.

Debbie likes toast, but I like doughnuts.

The comma is needed in this sentence to separate two independent clauses ("Debbie likes toast" and "I like doughnuts") that are joined by the coordinating conjunction "but." The comma helps to clarify the separation between these two thoughts and indicates a slight pause when reading the sentence aloud.