In a small mixing bowl, combine the flour, baking powder, and salt. Set aside.
In a large mixing bowl, beat the sugar and butter with an electric mixer, about 1 minute.
Add in the peanut butter, eggs and vanilla, beat to combine.
Add the chocolate chips (reserve half for the top!) and gradually add the dry ingredient mixture, mixing with a spatula until the batter is combined.
Spray a pie pan with non-stick cooking spray. Press the cookie batter into the pan. Add the remaining chocolate chips to the top of the cookie and press them into the dough. Bake for 40-45 minutes or until the top of the cookie pie is golden in color.
Allow the pie to cool, then serve. Top with ice cream if desired.