Cook the pasta as instructed on the package.
Cook the bacon until it releases grease, then add the onion and garlic and cook until the onion is soft and the bacon is golden.
Add the chopped tomato and cook for a few minutes over medium heat.
Season with salt and pepper to taste. Add the pasta and parmesan, mix, and serve.