Melt the butter in a heavy bottomed saucepan. When it foams, add potatoes and onions and turn them until well coated.