A dialogue is a conversation, formal or informal, between two people about any subject. It can also be a theatrical performance. If a discussion becomes heated with opposing points of view it becomes an argument. A debate is a formal or casual discussion on a particular topic. it can be between two or more people. In a formal debate there is usually a moderator, a premise, a timekeeper and an audience.
Lois