py - 在vsc中调试fastapi
官方文档地址
https://fastapi.org.cn/tutorial/debugging/#run-your-code-with-your-debugger
安装必要的扩展
确保已安装以下 VSC 扩展:
- Python:提供 Python 语言支持及调试功能。
- Pylance:增强 Python 的语言智能。
https://fastapi.org.cn/tutorial/debugging/#run-your-code-with-your-debugger
确保已安装以下 VSC 扩展: