github.com/sandwich-go/boost@v1.3.29/xdebug/sdebug.go (about) 1 package xdebug 2 3 var isDebugEnabled = false 4 5 func Enabled() bool { 6 return isDebugEnabled 7 } 8 9 func SetEnabled(enable bool) { isDebugEnabled = enable }