Mosquitto is an open source MQTT message broker that is supported by the Eclipse Foundation. Mosquitto can be locally installed on Windows machine which can help developers to test and debug their MQTT solution on their local machine.
Download the Mosquitto MQTT installer from the Eclipse foundation.
Once Mosquitto is installed, check the supported command line options.
Start the Mosquitto service from Windows command line.