First we’re gonna brown the butter.
In a saucepan, melt the butter over low-medium heat. Swirl as it melts. Over the next few minutes it will start to bubble and sputter as the water burns off. Then it will start to become a deeper yellow. Use a wooden spoon or silicone spatula to scrape the bits of butter off the sides and bottom so they don’t burn. Continue to swirl until the bits of butter at the bottom turn amber brown, then remove from heat and pour into a bowl to cool (you can put in the fridge to speed the process, but it’ll take about 15-20 minutes).
In a medium bowl, whisk together the flour, baking soda, and sea salt.
Once the butter is room temperature, mix it in a large bowl with the brown and coconut sugars and vanilla. When incorporated, add egg and yolks one at a time, mixing until just combined.
Gradually add in dry mixture, and when it’s not quite all mixed, add chocolate and pecans.
Line two baking sheets with parchment paper and distribute 3 tablespoon rounded cookie dough balls onto baking sheets, leaving 2-3 inches between the cookies. Slightly flatten each cookie. Refrigerate at least 30 minutes.