How to debug modules more conveniently

Every time modify the module, I deploy it into a docker container.
That’s ok but very slow, how to debug more easily.

Can I put my module code into the source code of nakama to run together, for example

go run . --database.address postgres:password@127.0.0.1:5432

or

go run . --database.address postgres:password@127.0.0.1:5432 --module-path=modules

on windows
cant run

go build --buildmode=plugin

switch to Unix-like operating system