Heat the butter in the saucepan till it becomes deep nut-brown, beurre noisette but do not let it blacken. Throw in the onions, season with salt and pepper, and sprinkle with sugar.
Cover the saucepan, allow to soften and brown gradually for 30 minutes over a gentle heat. Keep an eye on them, and stir from time to tim