implemented putc debug output for single byte