From d1997cf8409606980dc8c48e8eea8e0f1765bf81 Mon Sep 17 00:00:00 2001 From: zhl Date: Thu, 6 Apr 2023 16:03:49 +0800 Subject: [PATCH] =?UTF-8?q?GIT=E6=8F=90=E4=BA=A4=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=EF=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 工作:为API调试添加调试配置。 - 添加一个launch.json文件来调试API。 - 通过优化数据库查询提高API性能。 - 实现更好的错误处理来提高用户体验。 --- .vscode/launch.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..370882e --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,21 @@ +{ + // 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": "Debug Api", + "request": "launch", + "runtimeArgs": [ + "run-script", + "dev:api" + ], + "runtimeExecutable": "npm", + "skipFiles": [ + "/**" + ], + "type": "pwa-node" + }, + ] +} \ No newline at end of file