Preheat oven to 350°F.
In a medium size bowl, add flour, cocoa powder, baking soda, and salt.
Whisk together until well combined. Set aside.
Add eggs and sugar to bowl of electric mixer.
Mix until well combined.
Add vanilla and espresso powder and continue to mix until combined.
Gradually add in dry ingredients, mixing until dough comes together.
Add chocolate chips and pecans and mix until all incorporated and dough holds together.
Divide dough in half, place on a lightly floured surface.
Shape into a log the length of your baking sheet.
Place each log onto a lined or greased baking sheet. Press each log lightly to flatten the top.
Brush with beaten egg and sprinkle with coarse sugar.
Bake 25 minutes.
Remove from oven and allow to cool 15 minutes.
Slice logs on the diagonal in half-inch slices.
Place onto baking sheet and return to oven for 20 minutes.
Remove from oven and allow to cool completely.
Store in an airtight container for up to two weeks.