1.environment: (1)os: ubantu 22.04 (2)kenel: Linux xyl-virtual-machine 5.15.0-27-generic #28-Ubuntu SMP Thu Apr 14 04:55:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

2.source code: package main

import ( "gorm.io/driver/sqlite" "gorm.io/gorm" "time" )

func main() { db, err := gorm.Open(sqlite.Open("./test.db"), &gorm.Config{ SkipDefaultTransaction: true, PrepareStmt: true, }) if err != nil { return }

sqlDB, err := db.DB()
if err != nil {
    return
}
sqlDB.SetMaxIdleConns(10)
sqlDB.SetMaxOpenConns(10)
sqlDB.SetConnMaxLifetime(time.Hour)

}

3.error: GOROOT=/usr/local/go #gosetup GOPATH=/root/go #gosetup /usr/local/go/bin/go build -o /tmp/test -gcflags "all=-N -l" . #gosetup /home/goland/GoLand-2019.3.4/plugins/go/lib/dlv/linux/dlv --listen=localhost:40831 --headless=true --api-version=2 --check-go-version=false --only-same-user=false exec /tmp/test -- #gosetup API server listening at: 127.0.0.1:40831 could not launch process: could not open debug info

Comment From: github-actions[bot]

The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 30 days if no further activity occurs. if you are asking question, please use the Question template, most likely your question already answered https://github.com/go-gorm/gorm/issues or described in the document https://gorm.io ✨ Search Before Asking