> For the complete documentation index, see [llms.txt](https://studio-docs.sandbox.game/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://studio-docs.sandbox.game/the-editor/how-to-use-dev-console.md).

# How to use dev console

Open the Sandbox Studio developer console to inspect errors, collect useful diagnostic details, and share relevant output when troubleshooting a problem.

{% embed url="<https://youtu.be/FgLYf_sRk1E?si=rPR6wPfXDl-q1Ee->" %}

{% stepper %}
{% step %}

## Open the main menu

Open the main menu in Sandbox Studio, then scroll down to Help.
{% endstep %}

{% step %}

## Open the developer console

Under Help, select Toggle Dev Console. The developer console opens and displays messages recorded by the editor and the running project.
{% endstep %}

{% step %}

## Reproduce the problem

Repeat the action that caused the error while the console is open. New messages may provide more detail about what failed and where the problem occurred.
{% endstep %}

{% step %}

## Find the relevant messages

Look for errors or warnings recorded at the time the problem occurred. Include a few surrounding lines when they help explain what happened immediately before or after the error.
{% endstep %}

{% step %}

## Copy the diagnostic output

Select and copy the relevant console text. Paste it into a bug report or troubleshooting request together with the action you were performing and the result you expected.

{% hint style="info" %}
*NOTE: Review console output before sharing it. Remove access tokens, private project details, personal information, or local file paths that the recipient does not need.*
{% endhint %}
{% endstep %}

{% step %}

## Close the developer console

Return to Help and select Toggle Dev Console again when you have finished troubleshooting.
{% endstep %}
{% endstepper %}

## What You've Done

You can now open the developer console, capture the messages connected to an error, and provide useful diagnostic information for bug fixing.


---

# 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://studio-docs.sandbox.game/the-editor/how-to-use-dev-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.
