Cook spaghetti pasta according to package instructions until al dente. Reserve ½ cup of pasta water before draining.
While the pasta is cooking, prepare the caramelized onions. In a large skillet, melt 2 tablespoons of butter and 1 tablespoon of olive oil over medium heat.
Add the thinly sliced shallots and onion to the skillet and cook, stirring occasionally, until they become golden brown and caramelized, about 15-20 minutes.
Add 3 tablespoon of water to speed up the caramelization process.
Add the minced garlic to the skillet with the caramelized shallots. Sauté for an additional 1-2 minutes until the garlic is fragrant.
Stir in 1 tablespoon of soy sauce and season with salt and pepper to taste.
Transfer the pasta directly to the skillet with the caramelized onion mixture. Add the reserved pasta water and the remaining tablespoon of butter. Toss everything together until the pasta is well coated and heated through.
In a separate small pan, melt ¼ cup of butter for the breadcrumb topping. Add the panko breadcrumbs, smoked paprika, and a pinch of salt and pepper. Cook, stirring frequently, until the breadcrumbs are golden and toasted, about 3-4 minutes.
Garnish with the breadcrumb topping, chopped fresh parsley and a drizzle of chili crisp for extra flavor and heat.