This is something similar to this post Running a flask server. I wanted to check if there is any other option other than deploying the flask app to keep it running for debugging purpose.
I work on a python program hosted in linux server. The program uses flask as it is a web based application. I am connecting to the linux server using putty
progaram in Windows. So i run the program using python mainprogram.py
in putty and i can view the application is running and can be opened in the browser.
But the application gets closed when putty is closed. How can i keep the application running even after i close putty. below is the URL set for the app
if __name__ == "__main__":
app.run(host='0.0.0.0', port=5000, threaded=True, debug=True)