In a large saucepan or small stock pot, heat olive oil over medium heat.
Add onion to oil and slowly sweat, stirring occasionally, for about 4 minutes.
Add celery, carrot, and garlic, and continue cooking for about 3 minutes, still stirring occasionally.
Add potatoes, broth, and tomatoes.
Bring to a boil and cook, stirring often, until potatoes are almost done, but still slightly firm.
Add pasta, peas, oregano, and basil. Add salt and pepper to taste.
Cook, stirring occasionally, until macaroni is tender, about 10 minutes.