Heat frying pan over medium heat and coat with cooking spray. Cook onion and garlic 3 to 4 minutes. Mix in eggplant, pepper, and tomatoes. Place lid on pan and cook 8 to 10 minutes of until vegetables are soft. Stir frequently.