self.port variable corrected

- self.port changed to self.get("port")
- added printing of value, port and duration in the debug window