# 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
