Debug log tool
Debugging logs can help troubleshoot problems with devices.
The Web Device Doctor flashes firmware to your device and monitors the logs.
You can also monitor or decode logs using the tool below.
| Data source | |
Firmware
Using your own firmware
You can add USB serial debugging to your own firmware using:
SerialLogHandler logHandler(LOG_LEVEL_TRACE);
You can then monitor the output using the tool above in Web Serial mode, or the Particle CLI particle serial monitor.
Web device doctor firmware
You should really use Web Device Doctor as it is able to do both device-side and cloud-side checks from one user interface, but if you prefer to install manually or do not have a compatible browser or computer, you can flash appropriate binary below to your device manually.
Note that the Device OS version is the minimum device OS version that must be installed to use that binary. It's OK if your device already has a newer version of Device OS. If your device has an older version of Device OS you should upgrade it first, or use the Web Device Doctor that will handle updating Device OS if necessary.