> For the complete documentation index, see [llms.txt](https://docs.nuken.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nuken.xyz/the-basics/your-workspace/viewing-the-console.md).

# Viewing the console

Depending on what framework / markup you're using, you may find it helpful to log things to the console via `console.log` (or other methods). That's why we've included an easy way for you to debug your projects with the **project console**.

<figure><img src="/files/gdvl6vbnWbYEjYWawJsd" alt=""><figcaption><p>A wild console appears!</p></figcaption></figure>

As you can see pictured above, the project console hovers near the bottom of your workspace. Any time a console event fires, your message is written to the pop-up window, and a notification bubble is shown onscreen.

`console.log`, `console.warn`, and `window.onerror` all appear in the project console. You can copy the messages displayed with the click of a button, or view helpful information on [Stack Overflow](https://stackoverflow.com). To help you keep track of message order, the time is displayed alongside each message, in 24-hour format.

{% hint style="warning" %}
The project console is cleared every time you click ▶️ and the preview area is refreshed, so make sure to download any important logs you'd like to save. If you'd like to get rid of a project console message, give it a good ol' double-click. But be warned, **deleted console messages cannot be recovered**.&#x20;
{% endhint %}

{% hint style="success" %}
Disabling notifications in the **Settings Menu** will not hide notifications shown in the project console.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.nuken.xyz/the-basics/your-workspace/viewing-the-console.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
