Issue: Debugging Flow and Error Logging in the UI

I am looking for a way to debug the entire flow locally before running the code in the user interface (UI). Specifically, I want to:

  1. Debug the complete flow locally to catch issues early on.
  2. Save error logs for the whole flow to identify problems during execution.

When working with a complex codebase that involves a user interface (UI), it can be challenging to identify issues that occur during the execution of the entire flow. Running the code directly in the UI might not always give immediate insights into potential errors or inefficiencies in the flow.

Have you looked into the App Testing framework? App testing - Streamlit Docs

That seems like it would be a good option to accomplish what you’re looking for.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.