Adds debug drawing mode