adding debug option for debugging on production env