I use console.log for debugging purpose, when the board is unplugged but powered, the prog stop after a while because of the fullness (sorry for the word) of the buffer.
Is there a way to kill output if usb is unplugged? (I'm a lazy guy and don't want to comments all my console.logline.😱)
I suppose there is something to write in the onInit()...
© Espruino, powered by microcosm.
Report a problem