Make sure all your ingredients are room temperature before beginning. I highly recommend using the scale for your measurements.
Sift flours, baking soda, baking powder and salt into a bowl. Set aside. (You can also mix together with a whisk rather than sifting.)
Using a mixer fitted with a paddle attachment, cream butter and sugars together until very light, about 5 minutes. Add eggs one at a time, mixing well after each addition. Stir in the vanilla.
Reduce speed to low, add dry ingredients and mix until just combined, 5 to 10 seconds. (I added the dry ingredients at about 1 1/2 cups at a time to avoid a major flour blowout, and mixed in the flour – mostly with my spatula – just enough that it wasn’t sitting on top, to avoid over mixing. Once it was all in the bowl, I ran the mixer to combine everything.)
Drop chocolate pieces in and incorporate them without breaking them.
Press plastic wrap against dough and refrigerate for 24 to 36 hours. Dough may be used in batches, and can be refrigerated for up to 72 hours.