Is it possible to run flask in a single process? (to work around apparent issue with ipdb & Docker ttys) September 4, 2023 by Tarik To make flask run in single processer use the below if __name__ == '__main__': app.run(threaded=False, processes=1)