diff --git a/.vscode/launch.json b/.vscode/launch.json index 0f1aacf..a07d000 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -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", }, diff --git a/deno.jsonc b/deno.jsonc index f6d080e..f1c7748 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -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": {