Preheat the oven to 350°F (175°C) and line a baking sheet with parchment paper.
In a large mixing bowl, cream together the butter, brown sugar, and granulated sugar until light and fluffy.
Add the egg and vanilla extract, mixing until fully incorporated.
In a separate bowl, whisk together the flour, baking soda, and salt.
Gradually add the dry ingredients to the wet ingredients, mixing just until combined.
Gently fold in the chocolate chips, followed by the raspberries, being careful not to crush them.
Scoop the dough onto the prepared baking sheet, spacing cookies about 2 inches apart.
Bake for 10–12 minutes or until edges are lightly golden and centers are set.
Allow cookies to cool on the baking sheet for 5 minutes before transferring to a wire rack to cool completely.