Preheat your oven to 400°F.
You'll need it hot and ready for the chicken as we move through the steps.
Heat olive oil in a large oven-safe skillet over medium-high heat.
Season the chicken with salt and pepper.
Place chicken skin-side down in the pan.
Cook until browned, about 5 minutes.
Flip and finish cooking in the oven for 20 minutes.
Boil a large pot of salted water for the pasta.
Cook spaghetti until al dente.
Reserve a cup of pasta water.
Drain and set the pasta aside.
In the same skillet, cook pancetta until crispy.
Add garlic and cook for an additional minute.
Pour in the white wine to deglaze the pan, scraping up any bits.
Whisk eggs with Parmesan cheese in a bowl.
Add the spaghetti to the skillet with pancetta.
Remove the pan from heat; quickly stir in the egg and cheese mixture to coat.
Thin with reserved pasta water if necessary.