feat(debug): implement debug server for development environment

- Added `listenDebugServer` function to handle debug requests.
- Introduced table based debug page with different functionalities.
- Updated Makefile to use `scc` for code analysis instead of `cloc`.
This commit is contained in:
yusing
2025-12-22 16:57:47 +08:00
parent 2b0cd260ce
commit 9acb9fa50f
6 changed files with 345 additions and 5 deletions

View File

@@ -72,6 +72,8 @@ func main() {
Handler: api.NewHandler(),
})
listenDebugServer()
uptime.Poller.Start()
config.WatchChanges()