Defrost the peas. Wash potatoes and cook in boiling water for about 15 minutes. Meanwhile peel onion and garlic and chop finely. Heat the oil in a pan and fry the onion and garlic. Dust with sugar and chilli powder and sauté.
Deglaze with tomatoes, bring to the boil and chop the tomatoes a little with the wooden spoons. Season with salt, herbs from Provence and pepper. Let it boil down for about 15 minutes. Drain the potatoes, rinse with cold water and peel. Drain the corn, rinse briefly and drain. Peel the sausage, cut it in half horizontally and cut it into half slices. Grate cheese. Cut potatoes smaller. Put tomato sauce, potatoes, corn, peas and sausage in an ovenproof casserole dish. Sprinkle with cheese.
Grate cheese. Cut potatoes smaller. Put tomato sauce, potatoes, corn, peas and sausage in an ovenproof casserole dish. Sprinkle with cheese. Bake in a preheated oven (electric cooker: 200 °C/ convection oven: 175 °C/ gas: level 3) for 20-25 minutes. Wash the chilli or pepperoni and cut into rings. Remove the casserole, sprinkle with chilli or pepperoni rings and serve immediately