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.

Platform Required Device OS
Argon 6.3.4
Asset Tracker / Monitor One 4.0.0
B-SoM 6.3.4
B5-SoM 6.3.4
Boron 6.3.4
E-SoM-X 6.3.4
Electron 3.3.1
M-SoM 6.3.4
P1 3.3.1
Photon 3.3.1
Photon 3.3.1
Photon 2 / P2 6.3.4