01 - Set oven to 350°F. Line two baking sheets with parchment paper.
02 - Whisk together flour, baking powder, baking soda, salt, cinnamon, and nutmeg in a medium bowl.
03 - In a large bowl, beat butter, brown sugar, and granulated sugar until light and fluffy, about 2 minutes.
04 - Add egg and vanilla extract to the creamed mixture and mix until fully combined.
05 - Gradually add dry ingredient mix to wet blend, stirring gently until just combined.
06 - Carefully fold diced pears into the batter, ensuring even distribution without overmixing.
07 - Drop tablespoon-sized scoops of dough onto prepared sheets, spacing them approximately 2 inches apart.
08 - Bake for 13 to 15 minutes, until edges turn golden and centers are set.
09 - Allow cookies to rest on baking sheets for 5 minutes before transferring to a wire rack to cool slightly. Serve warm.