Heat butter in a large bowl in the microwave for 75 seconds at 50% power until butter is very soft but not totally melted.
Whisk in granulated and brown sugars.
Whisk in eggs, one at a time.
Now whisk in the cocoa powder.
Then whisk in vanilla extract and peppermint extract.
In a separate bowl, whisk together flour, baking powder, baking soda, and salt.
Stir dry ingredients into the wet mixture with a sturdy wooden spoon.
Stir in chocolate chips.
Chill batter for at least 20-30 minutes.
While batter is chilling, preheat oven to 350 degrees.
Unwrap the candy canes and add to a ziplock bag. Then use a mallet to crush them up.
Use a slightly overfilled 1 ½-tablespoon cookie scoop to scoop out cookie dough, then roll into balls with your hands.
Arrange on the parchment-lined baking sheet, then press down slightly and sprinkle with the crushed candy canes.
Bake for 9-10 minutes, until cookies look firm and no longer glossy on top.
Remove baking sheet from oven, and bang it on the counter 2-3 times.
Let cookies sit for 2 minutes, then remove and let cool on a rack.
Notes
Storage Tips: Store cookies in an airtight container at room temperature for up to 3 days. Or freeze for up to 3 months in a freezer-safe ziplock bag.Expert Tips: It can be hard to tell when a chocolate cookie is done, because you can’t see the difference in color between the edges and the center. Don’t overcook, or the cookies will be very dense. Err on the side of taking them out a little early, as the cocoa powder will firm them up as they cool. And as always, doing a test bake of a cookie or two in your oven is always recommended!Softening the butter in the microwave helps give you that fudgy texture you want in a chocolate cookie. Plus, it helps you whisk the sugars in smoothly. If your mixing bowl is not microwave safe, just soften the butter in a measuring cup, then transfer to your mixing bowl.Chill the dough, but don’t leave it in there too long or it will be really hard to scoop.Bang the pan. It’s optional but honestly worth it for surface cracks and slightly denser centers.