chore: 修改調試配置文件

This commit is contained in:
CrescentLeaf
2025-09-06 14:34:30 +08:00
parent e50a90a770
commit 60fcb19769
2 changed files with 3 additions and 2 deletions

4
.vscode/launch.json vendored
View File

@@ -5,8 +5,8 @@
"version": "0.2.0",
"configurations": [
{
"command": "deno task main",
"name": "Run deno task main",
"command": "deno task debug",
"name": "Run deno task debug",
"request": "launch",
"type": "node-terminal",
},

View File

@@ -1,6 +1,7 @@
{
"tasks": {
"main": "deno run --allow-read --allow-write --allow-env --allow-net --allow-sys ./server/main.ts",
"debug": "deno run --watch --allow-read --allow-write --allow-env --allow-net --allow-sys ./server/main.ts",
"test": "deno run --allow-read --allow-write --allow-env --allow-net ./server/main_test.ts"
},
"imports": {