---
source_url: https://www.pubnub.com/docs/sdks/angular/troubleshooting
title: Troubleshooting AngularJS SDK
description: Learn to troubleshoot the PubNub AngularJS SDK including enabling logging, setting UUIDs, and where to send logs.
updated_at: 2026-05-12T11:37:48.000Z
---

# Troubleshooting AngularJS SDK

> For AI agents: documentation index at https://www.pubnub.com/llms-full.txt

## How to enable logging

Set `logVerbosity` to true on initialization.

:::note
Always set the `UUID` to uniquely identify the user or device that connects to PubNub. This `UUID` should be persisted, and should remain unchanged for the lifetime of the user or the device. If you don't set the `UUID`, you won't be able to connect to PubNub.
:::

```javascript
Pubnub.init({
    subscribeKey: "mySubscribeKey",
    publishKey: "myPublishKey",
    logVerbosity: true,
    uuid: "myUniqueUUID"
});
```

:::note
Copy the logs from the console output of the browser as text and submit to [support@pubnub.com](mailto:support@pubnub.com)
:::

Last updated at: 2026-05-12T11:37:48.000Z
