export FLASK_APP="mainfilename.py" export FLASK_DEBUG=1 python -m flask run --host=0.0.0.0
$ export FLASK_ENV=development $ flask run
app.run(debug=True)
export FLASK_ENV=development # To launch the app (Needed only once) flask run