Preheat the oven to 175 degrees Celsius. Grease a 23-centimeter round cake pan or springform pan and line the bottom with parchment paper for easy removal.
In a large mixing bowl, beat 170 grams softened butter, the brown sugar, and the granulated sugar until creamy and well combined, about 2 to 3 minutes. Beat in the egg, egg yolk, and 2 teaspoons vanilla extract until smooth.
In a separate bowl, whisk together the flour, cocoa powder, baking soda, and 1/2 teaspoon salt. Add the dry ingredients to the butter mixture and mix just until no dry streaks remain.
Fold in the chocolate chips and 35 grams of the crushed peppermint candies, reserving the remaining 15 grams for decorating the top after frosting.
Press the dough evenly into the prepared pan. Smooth the surface with a spatula or lightly damp fingers so it bakes evenly from center to edge.
Bake for 20 to 22 minutes, until the edges are set and the center looks just cooked through. Do not overbake if you want a soft cookie-cake texture.
Cool the cookie cake in the pan for 15 minutes, then carefully transfer it to a wire rack and cool completely for about 20 minutes more before frosting.
To make the frosting, beat 60 grams softened butter until smooth. Add the powdered sugar, milk, peppermint extract, 1/2 teaspoon vanilla extract, and a pinch of salt, then beat until light and spreadable.
Spread or pipe the frosting around the outer edge or over the top of the cooled cookie cake, depending on your preferred look. Sprinkle with the reserved 15 grams crushed peppermint candies.
Slice and serve immediately, or let the decorated cookie cake stand for a few minutes so the frosting settles slightly before cutting into 12 wedges.