The Web IBE reverts to Serial1 when USB is not connected, that must have been conflicting with the ESP8266 (which was also trying to use Serial1) adding USB.setConsole(1) forces the console to stay on USB.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
OK, found an answer in this post
The Web IBE reverts to Serial1 when USB is not connected, that must have been conflicting with the ESP8266 (which was also trying to use Serial1) adding USB.setConsole(1) forces the console to stay on USB.