debug flag for map/console