How can I debug Optimizely DXP sites?

  • Page Owner: Not Set
  • Last Reviewed: 2022-01-26

I'm having an issue with an Optimizely site hosted on DXP. Where can I get debugging information?


Answer

Assuming Sentry is set up and working, Sentry logs are a good place to start.

Next, assuming you have PAAS portal access, you can open a log stream from the PAAS portal.

The log stream doesn't always work. You should also have access to the App Service (for the Integration site only) in Azure through the Episerver Managed Services directory.

From Azure, you have access to the Application Insights for each app you have access to. From App Insights, you can see failed requests, exceptions, and some performance information.

If that doesn't give you want you need, you can also use Kudo. Go to the App Service in question, then on the left, scroll down to Development Tools > Advanced Tools. Click the "Go" link to open the Kudo link. The URL will be something like: https://clinxxxxxxinte.scm.azurewebsites.net/, where is the name of the App Service.

For example, if your integration URL is https://gacb02mstr00lxzinte.dxcloud.episerver.net/, the Kudo link will be https://gacb02mstr00lxzinte.scm.azurewebsites.net/.

From Kudo, you can browse the file system via the Debug Console, make edits, upload files, and view processes.

Finally, you can export and download the database for any environment form the PAAS portal to import locally. This can be helpful tracking down issues resolving around CMS content.