Preheat your oven to 350 degrees
Cream together the butter and sugars in a mixer. Add the eggs and vanilla, making sure to scrape down the sides of the mixing bowl. Add the flour, salt, baking soda and baking powder and mix on low until everything is incorporated. Fold in half of the M&M’s.
Chill the dough for 2 hours. Scoop out 2 tablespoons of dough, and roll it into a ball.
Roll the ball of dough around in the remaining M&M's, making sure the M&M's stick into the dough, and place the cookie on a parchment lined baking sheet. Place 12 cookies on a baking sheet.
For cookies that are soft in the middle (that’s how I like them) bake for 10-12 minutes until just slightly golden around the edges. If you want them crisp, bake for 12-14 minutes. Remove from the oven and let rest for 5 minutes before transferring them off the baking sheet and onto a cooling rack.