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

7
cmd/debug_page_prod.go Normal file
View File

@@ -0,0 +1,7 @@
//go:build production
package main
func listenDebugServer() {
// no-op
}