It would be nice to be able to strip (or tree shake) the debug/test geojson code especially to reduce the payload for websites. For tree shaking the debug code should be moved out of the class. Maybe also switch to Typescript ?