ESP8266 first code help

You can use GPIO2 to debug (Serial1).
Or you could debug over the network.