# Development

## Toolbar

The Profiler Page is accessible via the web debug toolbar. It allows developers to quickly identify and fix configuration issues, monitor service performance, and understand how their application is behaving in detail.

The Manifest options, the Service Worker rules, the icons and other interesting information are showed on the tool pages.

{% hint style="info" %}
Please note that due to changing browser requirements, the bundle may incorrectly indicate that the app can be installed.
{% endhint %}

Depending on the manifest configuration, the bundle tries to guess if the PWA can be installed on the device.

<figure><img src="/files/gzsDOlRJViUMnNJvzwqW" alt=""><figcaption><p>General view of the Manifest tab</p></figcaption></figure>

## Service Worker

It is quite difficult to debug the Service Worker. When in dev mode, Workbox will show debugging messages and the Service Worker file itself contains comments to help you understanding what is going wrong.

In production mode, debugging features and comments are removed.

## Logging

The bundle uses PSR-3 Logging implemention to send debugging messages.

{% code title="/config/packages/pwa.yaml" lineNumbers="true" %}

```yaml
pwa:
    logger: 'my.psr3.service'
```

{% endcode %}


---

# 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://pwa.spomky-labs.com/1.3.x/development.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.
