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?
Another good option is the message log.
Sign up for our newsletter and get our top new questions delivered to your inbox (see an example).
some_variable = feature.geometry()
QMessageBox.information(None, "DEBUG:", str(some_variable))
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
1 year ago
Get the weekly newsletter!
see an example newsletter