Beat softened butter and sugar in a large bowl with an electric mixer until light and fluffy.
Beat in egg, sour cream, vanilla extract, and peppermint extract until completely combined.
Whisk flour, baking soda, and salt together in a separate bowl; gradually fold into wet ingredients until soft dough forms.
Chill dough in the refrigerator for 1 hour to ease handling.
Preheat oven to 350°F (175°C). Line two baking sheets with parchment paper.
Drop 1.5-tablespoon scoops of dough 2 inches apart onto baking sheets; press down lightly with floured bottom of a glass.
Bake for 9 to 11 minutes until bottoms are barely golden and tops are set; cool completely before frosting and topping with crushed candy canes.