メニュー

Debugger Integration with Flex - End User Guide

Twilio is launching a new Console. Some screenshots on this page may show the Legacy Console and therefore may no longer be accurate. We are working to update all screenshots to reflect the new Console experience. Learn more about the new Console.

Pilot Feature

The Debugger Integration is currently offered as a Pilot Feature and has some important limitations.

With pilot releases, our focus is to verify functionality and gather feedback from a limited set of customers. Pilot Features are not covered by a Twilio SLA or support plan.

This is a guide on how to use the Debugger to troubleshoot uncaught exceptions and errors in Flex UI and Plugins. Found in your Twilio console, the Debugger contains a detailed log of activity within your application. This log can help you dive deeper and understand which Twilio resources were impacted (and by whom).

With the integration, you are able to access the following in the Debugger:

  • Uncaught exceptions from the Flex UI
  • console.error メッセージ

Enabling Debugger Integration

You can enable the Debugger Integration on the pre-release features page within Flex Admin.

enable-debugger.png

Writing Logs to the Debugger

With the Debugger Integration enabled, any uncaught JavaScript exceptions will automatically be logged. These will include details on the exception, the user who was logged in, and the version of the Flex UI that is being used.

You can trigger custom debugger notifications through console.error statements included in your code.

console.error('Unable to connect to MyCRM: %s', myCRMUrl);

We do not currently support additional levels of logging, like debug, log, info, and warn.

Accessing Error Logs

To get to the Error logs, open the console, click the Monitor tab and click on the Error logs under the Errors menu.

error-logs.png

Once in the Error logs, you can dig into the details.

error-logs-shot.png

Clicking on a debug event will give you a more detailed view of the event

exception.png

In addition to the user information contained within the notification, the Resource Sid represents the TaskRouter Worker for that user.

関連トピック

Now that you've integrated Flex with the Debugger, learn more about customizing the settings in the Debugger and other ways to debug your Flex Applications.

ページを評価:

ヘルプが必要ですか?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

フィードバックくださりありがとうございます!

Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

Sending your feedback...
🎉 Thank you for your feedback!
Something went wrong. Please try again.

Thanks for your feedback!

Refer us and get $10 in 3 simple steps!

ステップ1

Get link

Get a free personal referral link here

ステップ2:

Give $10

Your user signs up and upgrade using link

ステップ3

Get $10

1,250 free SMSes
OR 1,000 free voice mins
OR 12,000 chats
OR more