Preheat your oven to 350°F (175°C).
In a large mixing bowl, cream together the softened butter, granulated sugar, and brown sugar.
Add the eggs, one at a time, mixing well after each addition.
Stir in the vanilla extract.
In a separate bowl, whisk together the flour, baking soda, and salt.
Gradually add the dry ingredients to the wet mixture, mixing until just combined.
Gently fold in the fresh raspberries and white chocolate chips if using.
Drop rounded tablespoons of dough onto a baking sheet lined with parchment paper.
Bake for 12-15 minutes or until the edges are lightly golden.
Allow the cookies to cool on the baking sheet for 5 minutes before transferring them to a wire rack.