To make peperonata, heat 2 tablespoons oil in a largenon-stick frying pan. Add onion and cook for 2-3 minutes over medium heat until just soft. Reduce heat to very low, add the capsicum and cook for 10 minutes.
Stir in tomato paste and tomatoes and cook for 10 minutes over low heat, stirring occasionally, until thickened. Add sugar and vinegar, increase heat to medium and cook until liquid has evaporated. Add pasta and stir in half the basil. Set aside.
Beat the eggs and parmesan in a separate bowl and season well with salt and pepper. Stir in peperonata and remaining basil.
Wipe the pan clean and add remaining oil. Pour in the mixture, cover slightly with a lid or baking tray, and cook on lowest heat for 15 minutes, or until set (keep checking that base is not burning). Preheat the grill and place pan under for 1-2 minutes to set the top. Serve.