how to debug plugin code in dify? #16481
Closed
steveGuRen
started this conversation in
General
Replies: 3 comments 4 replies
-
I think it's impossible to debug now, and I suggest using more print statements for debugging. |
Beta Was this translation helpful? Give feedback.
1 reply
-
You don't have to run your plugin using 'python -m main'. Instead, you can simply execute the code in your main.py file through your debugger. And then you can debug it. |
Beta Was this translation helpful? Give feedback.
2 replies
-
This is an issue to GEVENT_SUPPORT in PyCharm, refer to https://www.jetbrains.com/help/pycharm/debugger-python.html and search for "GEVENT" |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Self Checks
Content
I have install plugin by "python -m main" with click "run" in pycharm.


But when I try to install plugin it again by click "debug" in pycharm, it can't work and stop in this situation.How to solve this problem....
Beta Was this translation helpful? Give feedback.
All reactions