Add debugMode option to rendering Locations to gather more data when problems arise.