add a debug mode where point to click toggles elements