Make debug messages more informative when more than one port are used.