A serial reader for debugging