Brew coffee and let it cool.
In a blender, combine cooled coffee, milk, mocha syrup, and ice. Blend until smooth.
Pour into glasses, top with whipped cream if desired.
Preheat the oven to 350°F (175°C).
In a bowl, mix flour, cocoa powder, baking soda, and salt.
In another bowl, cream butter, sugar, and brown sugar together.
Add the egg and vanilla extract to the butter mixture and blend.
Gradually mix in dry ingredients.
Stir in chocolate and mocha chips.
Drop cookie dough onto a baking sheet and bake for 8-10 minutes.
Cool cookies on a rack and serve with your frappuccino.