I wanted a very basic serial tap, a device I can insert between two other devices that are communicating via UART serial, so that I can inspect the messages going over the wire in real time.
The following are two implementations of this basic tap using an RP2040-based board, like a Raspberry Pi Pico. It takes advantage of the fact that the RP2040 has two UARTs, in addition to the USB serial used for programming and the REPL. There is one implementation in CircuitPython and another in MicroPython.