Preheat the oven to 375 degrees.
In a small bowl, mix together the flour and baking powder. Set that aside.
In the bowl of a stand mixer or in a large bowl, add the butter and brown sugar. Mix well until combined and the mixture is light and fluffy.
Add the egg and vanilla extract. Mix again until combined.
Add the sourdough discard and mix until fully combined.
Pour the flour mixture into the bowl and mix until all the ingredients are combined. Do not over mix the batter.
With a wooden spoon or a spatula, fold the chocolate chips into the batter.
Line a baking sheet with parchment paper. Pour the batter into the baking dish and bake for 30-40 minutes or until golden brown and cooked through.
