web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

How to resolve the snapshot debugging issue in al code

(1) ShareShare
ReportReport
Posted on by 194
How to resolve this issue? I am trying to do debugging snapshot on the production.
 {
            "name": "snapshotInitialize: Microsoft production cloud",
            "type": "al",
            "request": "snapshotInitialize",
            "environmentType": "Production",
            "environmentName": "production",
            "breakOnNext": "WebClient",
            "executionContext":"DebugAndProfile",
            "userId": "admin",
            "snapshotVerbosity": "Full",
         
           
 
        }
 
 
 
 
I have the same question (0)
  • Verified answer
    Andy Wingate Profile Picture
    326 on at
    Hiya, 
     
     
    You should start the start the prod debug with F7, then you do the steps in the correct session, then stop the process, download the snapshots and run the debug locally..
     
    You can trigger the steps using the various keyboard shortcuts mentioned in the article, or click the indicator in your VS code:
     
     
    I hope that might help!
     
    Best
    Andy

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans