Newer Version Available
Debug Subscriber Orgs
Troubleshoot with Debug Logs
You can debug your code by generating Apex debug logs that contain the output from your managed package. Using this log information, you can troubleshoot issues that are specific to that subscriber.
- If the user has access, set up a debug log: From Setup, in the Quick Find box, enter Debug Logs, and then select Debug Logs.
- Launch the Developer Console.
- Perform the operation, and view the debug log with your output.
Subscribers are unable to see the logs you set up or generate because they contain your unobfuscated Apex code.
You can also view and edit data contained in protected custom settings from your managed packages when logged in as a user.
Troubleshoot with the ISV Debugger
Each License Management Org can use one free ISV Customer Debugger session at a time. The ISV Customer Debugger is part of the Salesforce Extensions for Visual Studio Code. You can use the ISV Customer Debugger only in sandbox orgs, so you can initiate debugging sessions only from a customer’s sandbox.
For details, see the ISV Customer Debugger documentation.