Both options are commonly used and acceptable for asking someone about their breakfast. However, there can be a slight difference in emphasis.
"What do you have for breakfast?" focuses on the items or food that someone typically includes in their breakfast routine. It implies a broader perspective, encompassing not only what they eat but also what they might drink or have as part of their morning meal.
"What do you eat for breakfast?" specifically highlights the act of eating during breakfast time. It places more emphasis on the action itself and suggests a narrower focus on the food items consumed.
Ultimately, the choice between the two options depends on your preference or the specific context of the conversation.