ESP8266 Serial Port Data Rate
The ESP8266 uses a non-standard data rate when it starts up. This results in a string of garbage characters appearing before a Serial.begin();
statement sets something else up.
If you want to see the “garbage” characters set your serial monitor data rate to 74880 bps.