I don't know what have happened, but after months of developing a PythonFlask project, I suddenly cannot run it in debug mode. Python gets stuck at displaying:
- Restarting with stat
When running via Visual Studio, it just remains like that, the IDLE Python Shell waits there for a bit and then returns to >>> prompt as the program has escaped without any errors.
The problem isn't in my code, the same happens when simply trying to run an empty Flask app:
from flask import Flask
Flask(__name__).run(debug=True)
If debug is on False, it all runs perfectly, but that makes development significantly more uncomfortable.
I've tried a couple of Python versions, even re-installed, didn't work.
What could be the problem?
