I think that the best way is to keep topics from getting heated in the first place, which might mean either a more stringent signup procedure, or being more willing to ban users who lack the discipline to avoid getting personal.
Also, I think that the Discourse like/flag system works better for casual discussions. For “heavy debate”, having some kind of structured discussions, not unlike the parliamentary procedures of “Robert’s Rules” baked into the forum might serve as an encouragement to grapple with the ideas rather than digression into personal bickering.