> For the complete documentation index, see [llms.txt](https://more-about-angular.gitbook.io/artyom-js/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://more-about-angular.gitbook.io/artyom-js/api/untitled-26.md).

# setDebug

立刻调整 artyom 的debug 模式。

不通过初始化函数的方式动态修改 artyom 的 debug 模式状态。注意artyom 的debug模式已经被禁用了，将无法展示 debug 控制台信息，使用 `artyom.setDebug` 函数修改之。

```javascript
// Enable debug
artyom.setDebug(true);

// Disable debug
artyom.setDebug();
// or
artyom.setDebug(false);
```
