Preheat oven to 350 degrees F. Line a cookie sheet with nonstick foil.
Mix the flour, baking powder and salt together in a bowl.In a mixing bowl, using a handheld electric mixer, beat the butter, shortening and sugar until creamy. Beat in the egg and vanilla until mixed. By hand or using lowest speed of an electric mixer, stir in the flour mixture.Stir in the chocolate chips and the M&Ms.Drop the dough by heaping teaspoons or level tablespoons and bake for 9-12 minutes (go by appearance) or until the cookies appear set.
Let cool on sheets for about 3 minutes, then transfer to a wire rack to cool completely.