新版IDEA添加对于python-fastapi支持

引言

目前发现2025.3.2+版本在安装python插件后,对于flask和fastapi不能提供调试功能。
提示

Upgrade to PyCharm Pro
Unlock the full potential of your IDE!I Boost productivity,
work faster and be more efficient with powerful development tools.
- Support for JavaScript,TypeScript, React, and others
- Advances support for Django. Flask,and FastAPlRemote development
- Local and remote full-scale Jupyter notebooks
Purchase Subscription

image.png

解决方案

参考:https://youtrack.jetbrains.com/projects/PY/issues/PY-86159/FastAPI-Flask-run-configurations-are-not-available-in-IntelliJ-IDEA-2025.3-with-the-Python-plugin-enabled

需要安装插件PythonDAP
image.png
image.png

早期版本是不需要这个插件的,不知道为什么给拆开了。emmm

结语

没啥好说的,水一篇文章吧,但是确实也是解决了问题。

评论 0

还没有评论,来说点什么吧。

提交后需要审核才会公开。