It is highly recommended that these steps are used to configure MQTTSubscribe. Following these steps configures MQTTSubscribe and tests the configuration without impacting an existing WeeWX installation.
See, debugging.