The cable to connect the ESP32/ESP8266 to the development computer MUST BE A DATA CABLE!
Using a power cable is one central source of frustration - typically you will not know that it is a power cable, till you find out, why it was not working ;-)