Cream the softened butter with granulated sugar and brown sugar until pale and fluffy, about 2 minutes.
Beat in the egg, vanilla extract, and peppermint extract until smooth.
Whisk flour, cocoa powder, baking soda, espresso powder, and salt together; stir into the butter mixture. Fold in chocolate chips.
Cover and chill the dough at least 3 hours, up to 2 days.
Let dough sit at room temperature 15-20 minutes. Scoop into 1.5 tbsp balls, roll tall, space 2-3 inches apart on a lined baking sheet.
Bake at 350F (177C) for 11-12 minutes, until edges are set and centers still look soft. Cool on the sheet 5 minutes, then move to a rack.
Melt white chocolate slowly in short bursts, stirring often. Dip the top half of each cooled cookie.
Sprinkle crushed candy cane over the wet white chocolate right away. Let set about 1 hour, or chill 15 minutes.