Closed seidnerj closed 7 months ago
Hi @seidnerj,
Sorry for long response, I will try to figure out, if it's possible to have integration with trio.
Hi @seidnerj,
New version 1.24
has initial trio
integration. It will be great if you can try it out)
Hey Yurii, By the way, how does your plugin interplay with the (now builtin) support:
https://youtrack.jetbrains.com/issue/PY-57667/Asyncio-support-for-the-debugger-EXPERIMENTAL-FEATURE
It's actually works as expected. Because plugin replaces default debugger implementation with custom one. The custom implementation is not affected by this new built-in feature.
Actually, I checked out what their implementation looks like and I guess they took idea of initial implementation from my plugin (at least it looks very similar).
The idea was to use nest-asyncio
package to allow to run coroutines inside running event loop.
But this plugin solved a lot of issues and did not use nest-asyncio
package anymore.
Things that are solved by this plugin and not solved by built-in implementation (that I have found in latest PyCharm EAP):
contextvar
is changed inside coroutine, the change is reflected in the current context (works in this plugin, but not in builtin).trio
support (I mean, I did it only this week, but a least it's some kind of support).asyncio
package (I faced several issues with nest-asyncio
package).Great, I am using it right now. So far, so good! 🙏
Great, I am closing this issue. Please, open a new one if you will gonna find some bugs.
Will do! 🙏
If you could point me in the right direction I might be able to implement this myself and add a PR.
Thanks in advance