So the USB serial port is a great idea, except when you program the unit, the serial ports re-enumerate and the terminal program goes away… what am I missing?
I put a Serial.read(); in setup thinking it would allow me to connect first, hit a key, and see a debug log.
@Postler was talking about CLI not Desktop IDE and the USB device will always disconnect on a reboot since during reset it’s just not available.
The only thing you can do is to reconnect as soon the device has been recreated and your OS found it again.