Open lmyliumingyang1011 opened 2 months ago
I have the same problem , what should I do ?
My friend told me that he also encountered this problem, but we found that it was no problem to use the debug mode of visual studio code. Maybe pycharm is not compatible with sanic event loop? But I still want to use pycharm.在 2024年4月29日,16:17,Charlotte @.***> 写道: I have the same problem , what should I do ?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
My friend told me that he also encountered this problem, but we found that it was no problem to use the debug mode of visual studio code. Maybe pycharm is not compatible with sanic event loop? But I still want to use pycharm.在 2024年4月29日,16:17,Charlotte @.> 写道: I have the same problem , what should I do ? —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.>
Yes. I try it on vs code . no issue .
So, what should I config or some command on pycharm?
I also want to know the answer to this question.在 2024年4月30日,09:17,Charlotte @.***> 写道:
My friend told me that he also encountered this problem, but we found that it was no problem to use the debug mode of visual studio code. Maybe pycharm is not compatible with sanic event loop? But I still want to use pycharm.在 2024年4月29日,16:17,Charlotte @.> 写道: I have the same problem , what should I do ? —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.>
Yes. I try it on vs code . no issue . So, what should I config or some command on pycharm?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
I have no idea what PyCharm is doing or how it is running so I cannot debug this. If you can get the run-time command perhaps we can debug it.
Is there an existing issue for this?
Describe the bug
When I start with pycharm debug it throws an exception, if it starts normally it's fine. Because I want to debug through debug,as picture:![WX20240422-214046@2x](https://github.com/sanic-org/sanic/assets/165400619/11449da6-c184-4dbf-870a-0aa9f88c428e)
Code snippet
No response
Expected Behavior
No response
How do you run Sanic?
As a module
Operating System
MacOS
Sanic Version
v23.12.1
Additional context
No response