Returns if the queries should be shown that are being executed

db.getShowQueries()

Value

will return TRUE if queries are shown