printing port io for debug