Then I upload the code and it writes fine. If I don't do that the code compiles and I get the espcomm_open failed.
Anyway... that much works.
Once it's uploaded I can open the serial monitor and debug my code.
The problem is that I can ONLY run my esp code if I upload it. If I just restart the ESP, without uploading code, I see some garbage text in the serial monitor, but the setup/loop code never runs.
Has anyone experienced this?