Kitchn describes and compares 6 methods of caramelizing onions and the winner (adding a pinch of baking soda).