You should debug code only in the Integration environment. You should debug in the Preproduction/Production environments only when absolutely necessary. Contact Optimizely to submit a support ticket for remote debugging.
Contact Optimizely to get access to your DXP-specific resources in the Azure portal, so that you can monitor and troubleshoot your solutions. When logged in, the Azure portal will display information as in the example below.
Azure websites have an associated "scm" service site, where you can run site extension tools. For DXP, the Kudu services tool is available with your access to the Azure Portal.
To access the service tool, you add an "scm" segment to the environment site URL, for example:
The service tool lets you download the current docker logs or get access to the log stream.
Updated 4 months ago