Preheat the oven to 325°F (163°C). Mix the chocolate cookie crumbs, melted butter, and optional sugar. Press into the bottom of a springform pan and bake for 10 minutes. Cool slightly.
Beat the cream cheese until smooth. Add the sugar, then the eggs one at a time. Blend in the vanilla, sour cream, and melted chocolate until creamy.
Pour half the cheesecake batter over the crust. Drizzle with caramel sauce and sprinkle with pecans and chocolate chips. Add the remaining batter.
Bake for 55–65 minutes until the center is slightly set. Turn the oven off and crack the door open slightly. Cool gradually.
Chill for at least 6 hours or overnight.
Heat the heavy cream until hot and pour it over the chocolate chips. Let sit for 2 minutes, then stir until smooth. Pour the ganache over the chilled cheesecake.
Drizzle with caramel sauce and top with pecans and chocolate curls if desired.