Brown the butter - Heat unsalted butter in a light colored saucepan over medium heat. Once the butter melts, it will become foamy. When the foam subsides, you will see clear bubbles, start whisking continuously at this point to keep the milk solids from burning. When the butter is caramel in color and smells nutty - about 8 to 9 minutes - take it off the heat and immediately pour it into the stand mixer bowl and allow to cool.
227 grams unsalted butter
Beat in sugar - Once the butter has cooled down, add both granulated sugar and brown sugar to it. Beat with the paddle attachment for at least 2 minutes until light in color.
175 grams brown sugar, 100 grams granulated sugar
Incorporate sourdough starter - Add the egg yolks, vanilla extract, sourdough starter and continue beating for at least another 2 minutes until fluffy and creamy.
2 large egg yolks, 10 grams pure vanilla extract, 120 grams sourdough starter discard
Add dry ingredients - Sift flour, cocoa powder and baking soda directly into the wet ingredient mixture in the stand mixer bowl. Sprinkle kosher salt on top and stir until incorporated. Stop the mixer and scrape down the sides and bottom of the bowl as necessary.
200 grams all-purpose flour, 52 grams cocoa powder, 6 grams baking soda, 6 grams kosher salt
Add mix-ins - Add the chocolate chips and mini marshmallows, stir to distribute evenly. Stop the mixer and use a spatula to scrape the side and bottom of the bowl to ensure good distribution of mix-ins throughout the cookie dough.
180 grams bittersweet chocolate chip, 80 grams mini marshmallows
Scoop and chill - Portion the cookie dough with a 3-tablespoon cookie scoop and place them on a lined baking sheet. Press 3 extra marshmallows on top of each dough ball. Cover and refrigerate for at least half an hour, and up to 3 days, before baking. While you can bake these right away, chilling the dough is essential to allow the butter to re-solidify, the flour to hydrate and the flavor to develop!
Extra marshmallows for topping
Preheat the oven to 350°F.
Bake - Place 6 dough balls on a baking sheet, and bake 1 batch at a time for about 13:30 to 14 minutes, until the marshmallows on top start to look toasty and the middle of the cookie is still slightly underbaked.
Cool - Remove the baking sheet from the oven and immediately reshape them using a spatula or a large cookie cutter. Allow the cookies to sit on the baking sheet to finish baking from the residual heat for 10-15 minutes before removing them to a wire rack to cool completely.