I started by creaming butter, brown sugar, and granulated sugar until smooth and fluffy. This step is important because it creates a soft cookie texture. Then I added the egg, pumpkin puree, and vanilla to build flavor.
In another bowl, I whisked flour, baking soda, baking powder, salt, pumpkin spice, and espresso powder. This ensures even distribution of spice and coffee flavor. Slowly combining dry and wet ingredients prevents overmixing.
I scooped cookie dough onto a lined baking tray using a spoon. Each cookie was slightly flattened for even baking. They baked until the edges were set and the centers stayed soft.
After baking, I let the cookies cool on the tray for a few minutes. Then I moved them to a rack to cool completely. This helps them firm up while staying soft inside.