> For the complete documentation index, see [llms.txt](https://docs.gracebot.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gracebot.net/website/troubleshooting/quick-debug.md).

# Debug/Error Help

Get started on debuging the website!

## How to enable debug console

To enable debug, click the Grace Logo at the bottom of the website 5 times. Doing this will enable the DEBUG console at the top of the page where you can input commands into the website

{% hint style="info" %}
If you reload the page everything is reset back to debug besides the debug system. To completely reset type `debug` then on the next question type `exit, clear`, or`end.` This will fully reset the website.
{% endhint %}

## Collect API Logs

To collect api logs make sure you have enabled debug console & have the console open of your browser. On `enter code` Enter `log` then on value enter `api` and a nice page of info will be outputted on in the console.

```javascript
Example:
 ------ API LOGS OUTPUT START ------

 LOGS:
[{"startTime":"2020-08-31T21:16:44.915Z","endTime":"2020-08-31T21:16:45.054Z","endTimeSec":0.139,"apiURL":"http://localhost:3000/v1/system/stats","urlCreation":null,"error":null},{"startTime":"2020-08-31T21:16:44.989Z","endTime":"2020-08-31T21:16:45.102Z","endTimeSec":0.113,"apiURL":"http://localhost:3000/v1/system/notifications","urlCreation":null,"error":null},{"startTime":"2020-08-31T21:16:44.637Z","endTime":"2020-08-31T21:16:46.262Z","endTimeSec":1.625,"apiURL":"http://localhost:3000/v1/user/","urlCreation":null,"error":null}]

 API INFO:
{"version":1,"path":"http://localhost:3000/","SysVersion":"1.3.0","hostname":"Main-PC-0001","apiTimesData":"Check Above","build":"development","isLoaded":true,"isLoggingOut":false,"admin":{"showButton":true,"streamerMode":false,"systemIds":null}}

 User Info:
{"id":"131417543888863232","username":"Spooder","avatar":"f301d356435d5497a1afd324148014c4","discriminator":"1111","public_flags":"131712","flags":131712,"locale":"en-US","mfa_enabled":true,"premium_type":1,"tag":"Spooder#1111","public_flags_Array":["HOUSE_BRILLIANCE","EARLY_SUPPORTER","VERIFIED_DEVELOPER"],"patreonID":"40298761","staffType":9,"premium":4,"staff":1,"userLevel":9,"premiumGuilds":[],"override":1,"banned":0,"confidential":0,"allowedTrade":1,"bot":0,"background":null,"coins":"0","lastDataDump":1598493194,"dateJoined":1564448488,"canDataDump":true}

 ------ API LOGS OUTPUT ENDED ------
```

{% hint style="info" %}
Make sure to copy the full thing. We recommend you put it inside a [hastebin](https://hastebin.com/) or [pastebin ](https://pastebin.com/)as it can get very log.
{% endhint %}

This will help us figure out what went wrong! Make sure to provi
