mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-04-13 20:28:32 +10:00
Minor fixes
This commit is contained in:
12
cmd/sing-box/debug.go
Normal file
12
cmd/sing-box/debug.go
Normal file
@@ -0,0 +1,12 @@
|
||||
//go:build debug
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
_ "net/http/pprof"
|
||||
)
|
||||
|
||||
func init() {
|
||||
go http.ListenAndServe("0.0.0.0:8964", nil)
|
||||
}
|
||||
Reference in New Issue
Block a user