Airfinder | Partners

AngularJS V4 SDK Troubleshooting Guide

Written by Jennifer Halstead | Feb 26, 2018 6:53:53 AM

Troubleshooting

HOW TO ENABLE LOGGING

Set logVerbosity to true on initialization.


var pubnub = new PubNub({
    subscribeKey: "mySubscribeKey",
    publishKey: "myPublishKey",
    cipherKey: "myCipherKey",
    authKey: "myAuthKey",
    logVerbosity: true,
    uuid: "myUniqueUUID",
    ssl: true,
    presenceTimeout: 130,
})