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