Best setup for debugging streamlit apps?

Hi Streamlit community!

I recently came across a blog post that discusses debugging Streamlit applications using VSCode. The author provides a step-by-step guide on how to set up a simple addition app, configure VSCode for debugging, and use breakpoints effectively.

One thing that stood out to me is how setting breakpoints in the code can help visualize the current state of the application and inspect variable values during runtime. This seems like such a vital skill for effective debugging, but I would love to expand my understanding further.

I’m curious if anyone in the community has more insights or resources on debugging in Streamlit, especially best practices or common pitfalls to avoid. Any tips on complex scenarios or advanced debugging features in VSCode would also be appreciated!

Here are some links I’ve found related to the topic:

Looking forward to hearing your thoughts!