---
title: debug
slug: debug
description: Learn how to use HypeXAPI.setDefault() to establish the default value for specific settings in this document. Discover how setting the 'debug' value to 'true' enables console visibility, making debugging a breeze.
docTags: 
createdAt: 2022-05-04T10:22:46.000Z
---

The HypeXAPI.setDefault() function is used to set the default value for a particular setting. In this case, the setting is 'debug', and the default value is 'true'. Debugging is typically enabled to see statement in the console.

```javascript
HypeXAPI.setDefault('debug', true);
```

