Preheat the oven to 350°F (177°C). Line a 9x13-inch baking pan with parchment paper.
In a medium bowl, whisk together flour, baking soda and salt.
In a large mixing bowl with the paddle attachment, whip the butter, both sugars and vanilla extract until fluffy, about 2 minutes.
Scrape the sides of the bowl with a spatula, then add the eggs and mix until well combined.
Add the dry ingredients and mix until just combined.
Stir in the chocolate chunks.
Press half of the dough into the prepared baking pan. Spread the caramel sauce on top, then drop the remaining cookie dough over the caramel filling. It’s easier to drop small pieces of dough. It doesn’t have to be perfect.
Bake for 25-30 minutes, or until the center is just set.
Sprinkle the sea salt on top and transfer the cookie bar with parchment paper onto a cooling rack to cool completely.
Cool it completely before cutting and serving.