# \#debug

**URL:** https://discuss.dgraph.io/tag/debug/283.md

[Latest](https://discuss.dgraph.io/latest.md) · [Categories](https://discuss.dgraph.io/categories.md) · [Tags](https://discuss.dgraph.io/tags.md)

---

## [How to check the DQL execution plan](https://discuss.dgraph.io/t/how-to-check-the-dql-execution-plan/19774)

<div class="topic-metadata">

**Author:** [@leo\_berglin](https://discuss.dgraph.io/u/leo_berglin)\
**Replies:** 5\
**Last updated:** [February 20, 2025, 2:40am UTC](https://discuss.dgraph.io/t/how-to-check-the-dql-execution-plan/19774 "2025-02-20T02:40:19Z")

</div>

I used the explain keyword in Dgraph 24.0.5 but got the error “Invalid operation type: explain.” explain { getUsers(func: has(name)) { name follows { name } } } I would appreciate it if you could l…

---

## [Debug Dgraph with VSCode](https://discuss.dgraph.io/t/debug-dgraph-with-vscode/18383)

<div class="topic-metadata">

**Author:** [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Replies:** 8\
**Last updated:** [March 23, 2023, 11:19pm UTC](https://discuss.dgraph.io/t/debug-dgraph-with-vscode/18383 "2023-03-23T23:19:42Z")

</div>

Now you can debug Dgraph via vscode. It’s very simple to get started. Clone the repository. PS. Make sure you have the Go env ready. Go to the VsCode debug tab. In the debug execution field, choose the “normal” or …
