find the port id in a better manner
remove debugger line
Merge pull request #144 from karcaw/issue143_1.0.0.rc1

find the port id in a better manner