Allow debug: option to be specified as (integer) port number.