Cook the onions with 1 tablespoon of butter on medium low until browned, about 45 minutes.
Add in the habanero and cranberries and stir well.
Put the brie into a baking container. Top with the onion mixture. Bake at 350 until melty, about 30 minutes.
Meanwhile toast the pecans in a frying pan. Once toasted add in 1 tablespoon of butter and the brown sugar. Cook 2 minutes. Remove from heat. Add to the brie when it comes out of the oven.
Stir the brie to mix everything in really well. Serve with chips.