Between a peripheral serial device and a computer: it works by default without any actions from your side, and it does not require additional hardware.
Between two serial devices: you should use the RS232 monitoring cable for full-duplex and select the Dual COM Port Monitoring mode in Serial Port Monitor.