Put tomatoes, onions and herbs in a pot. Bring to the boil, simmer on low heat for about 5 minutes. Cook pasta in boiling salted water for 2 minutes. Drain and let drain.
Season the sauce with salt, pepper and sugar. Serve the pasta with the sauce. Garnish with basil.