Heat the oil in a large lidded frying pan over a medium heat and add the onion. Cook until golden, then add the peppers.
Fry until both are soft, then stir in the harissa paste and cook for another couple of minutes.
Pour in the tomatoes and roughly mash. Stir in the sugar and bring to a boil, then turn down the heat and simmer for 30 minutes. Taste and season, adding more cayenne if you prefer it spicier.
Make 4-8 divots in the sauce and break in the eggs. Season them lightly, turn the heat right down as low as possible, cover and cook for about 10 minutes until they’re just set.
Dot with the yoghurt and sprinkle with coriander and serve.