Put debug messages in from_edge_port method.