First, brown your butter: Place butter in a medium-sized saucepan and melt over medium/low heat.
Once butter has melted, increase stovetop heat to just above medium heat and stir constantly. The butter will begin to bubble and sizzle. Keep stirring.
Once you notice bits beginning to turn golden brown on the bottom, remove the butter from heat and pour into a large heatproof bowl. Let this cool to room temperature before proceeding.
Cookie Dough: Preheat oven to 375F (190C) and line baking sheets with parchment paper.
Once butter is no longer warm to the touch, add sugars and stir well.
Add eggs and vanilla extract and stir until completely combined.
In a separate bowl whisk together flour, cornstarch, baking powder, baking soda and salt (not the sea salt, reserve that for topping).
Gradually (in 4-5 parts) add your flour mixture to butter mixture, stirring until ingredients are completely combined after each addition. Batter will be stiff, this is normal.
Add caramel pieces, chopped chocolate, and crumbled bacon and stir until combined.
Scoop dough into 2 Tablespoon-sized scoops and gently roll in your hands to form a ball. Place on prepared baking sheet, spacing cookies 2” apart.
Bake on 375F (190C) for 9-11 minutes or until the edges of the cookies are beginning to turn golden brown. Immediately sprinkle lightly with flaky sea salt.
Allow cookies to cool on baking sheet then enjoy.