Schematic to connect the Raspberry Pi GPIO serial port to a pc with rs232 interface.
The schema use a DCE configuration, with female connector, if you want a DTE you can use a male connector and exchange pin 2 and 3.
The photos showes both installed connector but you can use only one at time, not both.
Use an external power supply, do not use the power of usb serial converter, it does not provide enough current!
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.