Add debug label test, capability debug flag

This commit is contained in:
lash 2024-12-01 18:41:28 +00:00
parent 1a782c1db9
commit 35cf3a1cd1
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746
2 changed files with 9 additions and 0 deletions

5
debug/cap.go Normal file
View File

@ -0,0 +1,5 @@
package debug
var (
DebugCap uint32
)

View File

@ -37,6 +37,10 @@ var (
}
)
func init() {
DebugCap |= 1
}
func typToString(v common.DataTyp) string {
return dbTypStr[v]
}