Thanks for your useful answers.
I actually never used Serial1 because it seems to be the default console interface when BLE console is not available.
I will try forcing the console on BLE with E.setConsole("Bluetooth") in order to avoid problems between the console and the device plugged onto the Serial port.
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.
Thanks for your useful answers.
I actually never used Serial1 because it seems to be the default console interface when BLE console is not available.
I will try forcing the console on BLE with
E.setConsole("Bluetooth")
in order to avoid problems between the console and the device plugged onto the Serial port.