add code: auto discover debug enviroment by settings.py file owner