Show query and mutation in debug mode

Queries sent to a Dgraph Server can be shown in the logs with the --debugmode=true flag.

Mutations don’t appear in the logs, but if you must see them for debug purposes you can enable request tracing (--trace=<float>) and view recent mutations at serveraddr:8080/debug/requests.

2 Likes