Move debug toggle to top of file for easy switching