Arduino pro micro doesnt show anything in the serial monitor

Put the following line in the sketch after Serial.begin()

while (!Serial) {}

A Pro Micro needs time to establish the USB connection before printing to Serial.