Added param for overriding port to debug:print and debug:print-info