mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-02-20 23:47:21 -05:00
pprof debug
This commit is contained in:
parent
02ce3ffded
commit
d809973621
10
main/distro/debug/debug.go
Normal file
10
main/distro/debug/debug.go
Normal file
@ -0,0 +1,10 @@
|
||||
package debug
|
||||
|
||||
import _ "net/http/pprof"
|
||||
import "net/http"
|
||||
|
||||
func init() {
|
||||
go func() {
|
||||
http.ListenAndServe("localhost:6060", nil)
|
||||
}()
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user