> For the complete documentation index, see [llms.txt](https://envyware.gitbook.io/mods/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://envyware.gitbook.io/mods/envyspecs/debug-spec.md).

# Debug Spec

The debug spec command finds the entity you're looking at and tests the spec in the command arguments against it.

For example, `/debugspec isLegendary:true isboss:false` will check if the pokemon you're looking at is a legendary pokemon and not a boss

Permission: `envy.specs.forge.command.debug`

Aliases:

* `debugspec`
* `dbspec`
* `dspec`
* `spectest`

[Example Video](https://i.gyazo.com/e42095222394193538450b165458eb47.mp4)
