Preheat your oven to 350°F (175°C).
In a bowl, mix flour, baking soda, and salt together.
In another bowl, cream the butter, brown sugar, and granulated sugar together.
Add vanilla extract and eggs to the creamed mixture, mixing well.
Gradually add the dry ingredients to the wet ingredients until combined.
Fold in chocolate chips if using.
Drop tablespoon-sized portions of dough onto a baking sheet lined with parchment paper.
Bake for 10-12 minutes, until edges are golden.
Let the cookies cool completely on a wire rack.
Once cooled, scoop ice cream onto one cookie, then top with another cookie to form a sandwich.