Meanwhile, heat the oil in a large frying pan over medium heat. Add the onion and saute, until softened. Add the pancetta, until crisp. Add the tomatoes and cook for 3 minutes, until just softened. Season with salt and pepper. Add spaghetti and toss to combine.