Nakama debug feels tricky

hi.

based on tutorials o try to debug using goland debugger. there are times that it works but sometimes it seems that initializer does not work on debug config. there is no error log but initialization logs are not shown. so all I get is:

I can say non debug config works fine.

2025-04-28 03:19:14 + /nakama/nakama migrate up --database.address postgres:localdb@postgres:5432/nakama
2025-04-28 03:19:14 {"level":"info","ts":"2025-04-27T23:49:14.426Z","caller":"server/db.go:140","msg":"Database information","version":"PostgreSQL 12.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 9.2.0) 9.2.0, 64-bit"}
2025-04-28 03:19:14 {"level":"info","ts":"2025-04-27T23:49:14.427Z","caller":"migrate/migrate.go:109","msg":"Applying database migrations","limit":-1}
2025-04-28 03:19:14 {"level":"info","ts":"2025-04-27T23:49:14.432Z","caller":"migrate/migrate.go:116","msg":"Successfully applied migration","count":0}
2025-04-28 03:19:14 + /nakama/dlv --log --log-output=debugger --listen=:4000 --headless=true --api-version=2 exec nakama -- --config /nakama/data/local.yml --database.address postgres:localdb@postgres:5432/nakama
2025-04-28 03:19:14 API server listening at: [::]:4000
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=rpc Listening for remote connections (connections are not authenticated nor encrypted)
2025-04-28 03:19:14 2025-04-27T23:49:14Z info layer=debugger launching process with args: [nakama --config /nakama/data/local.yml --database.address postgres:localdb@postgres:5432/nakama]
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xbfee08
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xbff038
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xbff077
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xbff088
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xbff800
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xbff816
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xbff828
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xbff83a
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xbff869
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xbff87a
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xbffc9a
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xbffcc4
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xbffcd5
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc00029
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc00045
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc0005e
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc00069
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc00082
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc00582
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc00906
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc0090f
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc009ee
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc009f7
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc01100
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc01126
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc0113d
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc01176
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc01197
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc011b3
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc011c5
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc011e6
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc01207
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc01223
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc0123a
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc01243
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc01260
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc0195a
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc01976
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc019a9
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc019cf
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc019e6
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc01a19
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc01a33
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc01a46
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc01a5d
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc01a70
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc01a87
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc01a98
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc01e90
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc01e99
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc01eb3
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc01ec5
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc020e1
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc020fb
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc02685
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc026a5
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc026b6
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc026ea
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc0270a
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc02720
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc02987
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc029a1
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc029de
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc029f8
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc02a05
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc03012
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc03024
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc0302d
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc030e5
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc031ec
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc03201
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc0321b
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc0323a
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc03259
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc03273
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc03293
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc032a8
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc032bd
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc032ce
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc03847
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc0385e
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc0389c
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc038c6
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc03904
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc0392e
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc0394e
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc041d4
2025-04-28 03:19:14 2025-04-27T23:49:14Z warn layer=debugger reading debug_info: concrete subprogram without address range at 0xc04203
2025-04-28 03:19:15 2025-04-27T23:49:15Z debug layer=debugger Adding target 24 "/nakama/nakama --config /nakama/data/local.yml --database.address postgres:localdb@postgres:5432/nakama"

the only docker file config I have changed is the version. so this is:

FROM heroiclabs/nakama-pluginbuilder:3.23.0 AS builder

ENV GO111MODULE on
ENV CGO_ENABLED 1
ENV GOPRIVATE "hiro/guides"

WORKDIR /backend
COPY . .

RUN go build --trimpath --gcflags "all=-N -l" --buildmode=plugin -o ./backend.so
RUN go install github.com/go-delve/delve/cmd/dlv@latest

FROM heroiclabs/nakama-dsym:3.23.0

COPY --from=builder /go/bin/dlv /nakama
COPY --from=builder /backend/backend.so /nakama/data/modules
COPY --from=builder /backend/local.yml /nakama/data/