From 0e599f549860342c29aa39e6a4583c1a4e763287 Mon Sep 17 00:00:00 2001 From: Deadwalk Date: Sat, 31 Aug 2024 20:07:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BD=BF=E7=94=A8vscode?= =?UTF-8?q?=E8=BF=9B=E8=A1=8Cdebug=E8=B0=83=E8=AF=95FastAPI=E7=9A=84?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/launch.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..00c2c12 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,19 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Python 调试程序: server.py", + "type": "debugpy", + "request": "launch", + "program": "${workspaceFolder}/app/server.py", + "args": [ + "--host", + "0.0.0.0", + "--port", + "8000", + "--reload" + ], + "jinja": true + } + ] +} \ No newline at end of file