Heat 2 teaspoon of olive oil in a pan and add the sliced potatoes and onions once it is hot.
Toss them till they are slightly brown.
Remove the potatoes and onions and keep them aside.
Break the eggs in a bowl and whisk them and add salt and pepper to taste.Do not overbeat the eggs.
Quickly transfer the egg mixture into the potatoes and onion while they are still hot and mix.
Leave this for 5 minutes and you will notice the eggs curdling a bit as they got semi cooked due to the heat of potatoes and onions.
Now put the frying pan on heat again and add the rest of the oil.
Add the egg, potato and onion mix and let it cook on slow heat for some time, till it is golden brown.
Keep a close watch and once it’s cooked from one end, flip it over and let it cook on the other end too.
Turn the heat off and let your egg cook inside for few minutes.
Cut into wedges and serve hot or cold.