Step 1 In a large, heavy skillet, heat the olive oil over medium heat until the oil is hot, then add the onions and toss to coat. Raise the heat and cook, stirring frequently, until the onions begin to color.
Step 2 Reduce the heat to low and sprinkle in the sugar. Continue to cook the onions until they turn a deeper golden color, about 15 minutes.
Step 3Stir in the balsamic vinegar and continue to cook slowly until the onions are soft, darkly caramelized and sweet, about 45 minutes, stirring occasionally.
Step 4Season to taste with salt and set aside in a warm place until the peas are ready.