enabled toggling debug from query string