Preheat oven (electric cooker: 175 °C/circulating air: 150 °C/gas: see manufacturer). Line two baking trays with baking paper. Let the frozen raspberries thaw.
Finely chop the chocolate. Cream butter, sugar, egg and vanilla flavouring with the whisks of the mixer. Mix flour, baking powder, cocoa and baking soda and stir in portions briefly. First add the chopped chocolate, then the raspberries.
Use a tablespoon of dough blobs to place them on the trays at a distance of about 5 cm and press them slightly flatter. Bake cookies in the hot oven for 8-10 minutes, sheet by sheet. Take them out and let them cool down on a cake rack.