require debug if query param is provided