Preheat oven to gas 5, 190ºC, fan 170°C. Heat oil in a pan and fry the onion until soft. Add bacon and pepper and fry over a high heat until the bacon is browned.
Butter an ovenproof dish. Thickly butter one side of the bread slices, cut into triangles and arrange in the dish. Spoon over the onion and bacon. Beat the eggs and milk together and pour over. Top with cheese and bake for 20 minutes until golden.
For top tips on protecting you and your family when preparing raw meat and poultry, visit Food Safety in the Home and view the full Food safety at home video.