flask how to switch to development environment code example Example: flask development mode > set FLASK_APP=hello > set FLASK_ENV=development > flask run