Easy Eggplant Parmesan

2 medium-sized eggplants

1 cup mushrooms (sliced)

1 cup basil, spinach or arugula

½  medium onion

½ medium bell pepper (optional)

2 cups marinara sauce

Salt and pepper to taste

¼ cup shredded mozzarella and ¼ cup shredded Parmesan cheese