Pass Query Params in VsCode

Is it possible to specify query params in VsCode’s launch.json so that streamlit will launch with them? e.g localhost:8501?someparam=somevalue

Hi @bsalita

Though I have not tried this before, the query params defined in the URL can be used by the Streamlit app (via st.experimental_get_query_params and more details here: st.experimental_get_query_params - Streamlit Docs)

As for launch this in VS Code’s launch.json you can refer to this webpage for more details: Debugging configurations for Python apps in Visual Studio Code

Please re-read the OP.

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