Preheat the oven to 350° F.
To a bowl, add the unsalted butter and sugars on medium speed with a hand mixer, mix for two minutes or until creamy.
Add the egg and extracts. Mix on medium speed for one minute.
Add the flour, cocoa powder, baking powder, baking soda, and salt. Use a spatula to mix until everything is combined.
Add the chocolate chips and fold in with the spatula until incorporated.
Use a cookie scoop or a heaping tablespoon of cookie dough placed 2 inches apart onto two cookie sheets.
Bake for 10 minutes.
Remove the baking sheet from the oven and bang the baking sheet 1 time onto the counter to help the cookies spread.
Immediately top the cookies with the crushed candy cane. Press gently into the cookie to help it stick to the cookies.
Transfer the cookies immediately to a cooling sheet.
Repeat to make the final batch of cookies.