admin管理员组文章数量:1026989
I am running Gradio in an IntelliJ Jupyter plugin editor window. I have set a breakpoint in the chat
function. I run the following code to start a Gradio interface in debug mode. The breakpoint I created is "Suspend: All", not "Suspend: Thread".
The breakpoints are not being hit.
How do I run Gradio so that my breakpoints are being hit?
gr.ChatInterface(fn=chat).launch(debug=True)
I am guessing the Gradio interface starts a separate process that is not captured by my debugging session?
I am running Gradio in an IntelliJ Jupyter plugin editor window. I have set a breakpoint in the chat
function. I run the following code to start a Gradio interface in debug mode. The breakpoint I created is "Suspend: All", not "Suspend: Thread".
The breakpoints are not being hit.
How do I run Gradio so that my breakpoints are being hit?
gr.ChatInterface(fn=chat).launch(debug=True)
I am guessing the Gradio interface starts a separate process that is not captured by my debugging session?
本文标签: How do I attach a python debugger to a Gradio UI running on IntelliJ JupyterStack Overflow
版权声明:本文标题:How do I attach a python debugger to a Gradio UI running on IntelliJ Jupyter? - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745656857a2161647.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论