sanic-org / sanic

Accelerate your web app development | Build fast. Run fast.

Home Page:https://sanic.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Throws an exception when I run with pycharm debug

lmyliumingyang1011 opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

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

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

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: @.>

Yes. I try it on vs code . no issue .

So, what should I config or some command on pycharm?