fix minimal debug port identification