Preheat your oven to 350°F and line your baking sheet with parchment paper.
In a sauce pan over medium high heat, add your butter and let melt. Once it's melted keep it on the heat and let it cook for 5-10 minutes until it foams up and then turns brown. Let cool.
In a large bowl, add your butter and sugars, and whisk until combined.
Add your eggs, vanilla extract and peppermint extract. Whisk again until fluffy.
Next, add your cocoa powder, flour, corn starch, baking soda, and salt. Fold until just combined.
Add your chocolate chips and peppermint candy pieces.
Scoop out your cookie dough into 1-2 inch balls, flatten it out and add one marshmallow. Wrap your dough around the marshmallow. (It’s ok if a little bit of the marshmallow is peaking out.) Continue with the rest of your dough and marshmallows.
Place your cookie dough ball on your baking sheet a few inches apart and bake in the oven at 350°F for 8 to 10 minutes. Don’t overbake as your marshmallows could burn easily.
Using a round cookie cutter or glass, to scoot around your cookies if they spread and to make them all round.
Remove from oven, top with flaky sea salt, let set, share, and enjoy!!