> For the complete documentation index, see [llms.txt](https://learn.squirrel365.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.squirrel365.io/squirrel-addon-documentation/squirrel-helper-library/angular/getting-started/debugging.md).

# Debugging

As part of developing you may want to add some debug messages into your code.  These would normally be visible in the browser developer console, however as you are using the Squirrel designer application rather than a browser it's not immediately clear how to view the console.

* With Squirrel running, open a Chrome web browser and navigate to the URL **<http://localhost:8315>**
* Select your addon from the list
* You will now see the developer tools for your addon, including the console.

### addon framework debug messages

As part of the addon framework we have added a number of debug messages in, to help during development.  These messages are automatically supressed when you build or run your addon in prod mode.

The debug messages are added when you super any of the lifecycle [events ](/squirrel-addon-documentation/squirrel-helper-library/javascript/events.md)from the helper library.

{% embed url="<https://www.loom.com/share/f348988263474950861228b799ac9a02>" %}


---

# 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://learn.squirrel365.io/squirrel-addon-documentation/squirrel-helper-library/angular/getting-started/debugging.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.
