Added debug mode for chipmunk