Tomato pinworm
emerge 4 to 7 days after being laid. The larvae have a yellowish-grayish body, changing to gray with purple spots or completely purple, with a dark brown [...] which can last from 9 to 17 days depending on temperature. For pupation, the larva drops to the ground, burying itself and creating a green pupal cell which [...] be present, with which it shares similar habits. Due to the initial damage of the larva which forms a mine, it can be confused with the eggplant leafminer