Roast the chillies and the pumpkin seeds in a dry frying pan. Add the brown sugar and stir over low heat until melted. Pour the mixture onto a plate, separating the seeds as much as possible, and leave to cool. If the seeds stick to each other, separate them by hand.