I have used several different back-end frameworks before and I have found flask to be almost the absolute simplest to use and setup to do debugging.
How to install
pip3 install flask
from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'Hello World!'
How to run it
export FLASK_APP=hello.py flask run # alternative way to start it python3 -m flask run