You can flash any code which features SerialLogHandler logger(LOG_LEVEL_ALL); to get logs from the device via USB Serial.
SerialLogHandler logger(LOG_LEVEL_ALL);