I am starting to develop a plugin for Qgis using python, which i am very new at, and would like to view some results of variables by displaying a message in QGIS. How can I do this?
some_variable = feature.geometry() QMessageBox.information(None, "DEBUG:", str(some_variable))
Another good option is the message log.
from qgis.core import QgsMessageLog QgsMessageLog.logMessage("message")