2024-07-25
pyhton
00

问题背景

python项目debug起不来

解决方案: 1.设置launch.json

python
{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "load_app", "type": "debugpy", "request": "launch", "program": "项目路径/server/server.py", "console": "integratedTerminal" } ] }
  1. 需要下载python Debugger插件

ae8e1008ff19b912b9cc1c7afe3c836e.png

本文作者:曹子昂

本文链接:

版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!