Python Forum
question about flask tracing - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: question about flask tracing (/thread-34496.html)



question about flask tracing - javidr - Aug-04-2021

Hi

I would like to do some tracing in a flask. I have been able to trace request in plain python requests using sys.settrace(), but this doesnt work with Flask.

Moreover, what i want to trace is in a flask application, when an endpoint is called, what was the request, which parts of the code was executed (i think i can still do it with settrace) and what is the response sent by the application

Can you help me to understand which services i can use to do this?

Thanks