Sleep and debugging


#1

I’m starting to incorporate sleep modes into my code and I notice that the USB debug connection goes away when sleep is entered. That makes it difficult to see the log messages my code prints. Is there a recommended work-around, or am I missing some trick? (I’m using stop mode, not stand-by.)


#2

@tve, one approach is to use the Particle CLI to monitor the serial but automatically reconnect using particle serial monitor --follow.