Print to USB and UART at the same time

Another way but using hardware:
http://nicecircuits.com/dual-port-serial-terminal/