Debugging
Using a serial terminal
The Particle CLI provides a simple read-only terminal for USB serial. Using the --follow
option will wait and retry connecting. This is helpful because USB serial disconnects on reboot and sleep.
particle serial monitor --follow
You can also use dedicated serial programs like screen
on Mac and Linux, and PutTTY and CoolTerm on Windows.