> For the complete documentation index, see [llms.txt](https://speedtutoruk.gitbook.io/apk-doc-v1.7/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://speedtutoruk.gitbook.io/apk-doc-v1.7/support/debug-settings-build-error.md).

# Debug Settings - Build Error?

You can wrap editor only tags around the debug settings class, if you're having build issues! :) This will make sure this code only runs in the editor. &#x20;

```
#if UNITY_EDITOR

//DEBUG SETTINGS CODE

#endif
```

<figure><img src="https://649545417-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3gjV7Rs4V4fDWt4H3B0a%2Fuploads%2FBeY3JmudEgDhmV197Jpl%2FDebug%20settings%20in%20build%20issue.png?alt=media&amp;token=e3eb0a0a-70e7-43c3-bb47-b183cc00fb89" alt=""><figcaption></figcaption></figure>
