set world.debug attribute to enable/disable debug messages