Attach to user session when debugging
Important
This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.
Enabled for | Public preview | General availability |
---|---|---|
Admins, makers, marketers, or analysts, automatically | Oct 1, 2020 | Oct 1, 2020 |
Business value
Currently, when you debug with the Visual Studio Code AL debugger, you cannot attach to a user session, making it harder to troubleshoot issues that are dependent on users and user permissions. This feature enables attaching to an active user session as part of the new snapshot debugging capability.
Feature details
When using the new snapshot feature for troubleshooting, you can attach to an existing user session, as well as the next session for a given user. This is supported for sandboxes when using snapshot debugging on general availability of Business Central 2020 release wave 2, and will also be available for production once snapshots are enabled there (expected to happen in a minor update).
Note
At this time, this capability is only supported when using snapshots (which is introduced in preview in sandboxes only), and not in the normal debugger.
Thank you for your idea
Thank you for submitting this idea. We listened to your idea, along with comments and votes, to help us decide what to add to our product roadmap.
See also
Snapshot Debugging (docs)