I'm not quite sure I understand the question, but try just adding USB.setConsole(1).
USB.setConsole(1)
That will force the console to always stay on USB, allowing you to use Serial1 for whatever you want.
@Gordon started
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.
I'm not quite sure I understand the question, but try just adding
USB.setConsole(1)
.That will force the console to always stay on USB, allowing you to use Serial1 for whatever you want.