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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

General debugging methods in extension development for Dynamics 365 Business Central.

(7) ShareShare
ReportReport
Posted on by 1,249
Hi experts!

I'm developing extensions using Visual Studio Code, and I'd like to know the following:

  1. Is it possible to debug using breakpoints?

    Since VS Code shows various errors before deployment, it seems that resolving these in the editor eliminates the need for debugging with breakpoints. What do you think?

  2. Is it also possible to set breakpoints and debug the standard Base Application also?

Do you know useful reference manuals about debagging Business Central?

Look forward to hearing from you.

Nobuhara 
I have the same question (0)
  • Verified answer
    YUN ZHU Profile Picture
    99,138 Super User 2026 Season 1 on at
    Of course, if not, developers will not be able to customize their own functions well.
    For example,
    Using AL Explorer to open standard Base Application
    Set breakpoint
    Debug mode
    PS: Dynamics 365 Business Central: Publish without debugging (Ctrl+F5) and Debug without publishing (Ctrl+Shift+F5)
    Run the standard code
    The code will stop at the set breakpoint
     
    Thanks
    ZHU
  • Suggested answer
    Dynamics_Decoded_Gokul Profile Picture
    487 on at
    Hi Nobuhara, 

    for the 1st question since you have not deployed the APP in business central, It will not be possible for you to debug the solution without deploying. 
     
    for the 2nd question, The answer is below by Mr. YUN ZHU. would be right approach 
     
    thanks 
    gokulnath
  • Suggested answer
    Suresh Kulla Profile Picture
    50,269 Super User 2026 Season 1 on at
    Yes, that is possible select the object from the .alpackages symbol the object you want to debug and set the breakpoint, you can debug Base Application objects.
     
    See how to debug check these links
     
  • Suggested answer
    Sohail Ahmed Profile Picture
    11,169 Super User 2026 Season 1 on at
    you need to publish your extension in debug mode and attach to your BC server, you can step through your code.
     
    For the Base Application, you cannot directly debug Microsoft’s source, but you can debug through event subscribers or by downloading symbol references.
     
    Common guides: Microsoft Learn docs on “Debugging AL” and the official AL language extension documentation are the best starting points.
     
     
    ✅ Mark this as the verified answer if helpful.
     
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,949 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,064 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 559 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans