With the Python Ultimate plugin enabled cannot debug asynchronous project
I burnt upwards of 6 hours 😠on this!
Our Python projects using asynchronous programing *cannot* be debugged with the Python plugin of Ultimate enabled !!!
We get an error stack like:
2025-01-30 12:27:55,114 ERROR Â Â (WebServer)->...map_view - An error occurred while reloading the map: "Task <Task pending name='Task-109' coro=<MapView._build_layers() running at /Users/.../map_view.py:510> cb=[gather.<locals>._done_callback() at /opt/homebrew/Cellar/python@3.10/3.10.16/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/tasks.py:720]> got Future <Task pending name='Task-152' coro=<MapView.update_visuals() running at /Users/.../map_view.py:618>> attached to a different loop"
With this plugin disabled -- and only Python Community Edition plugin  enabled -- the project can be debugged perfectly.
Please sign in to leave a comment.
Sorry to hear that, please create a new bug report on YouTrack at https://youtrack.jetbrains.com/newIssue?project=PY and please attach the IDE UI logs from Help | Collect Logs and Diagnostic Data
https://youtrack.jetbrains.com/issue/PY-79226/