In a 4-quart or larger heavy-based pot, melt the butter over medium-low heat. Add the leeks, onion, and a generous pinch of salt and cook, stirring occasionally, until very soft and lightly golden but not brown, 15 to 20 minutes. Reduce the heat to low if you see signs of browning.
Meanwhile, pe...