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...
Suggested Answer

Debugger for Business central AL not working on VS code

(0) ShareShare
ReportReport
Posted on by 305

Hi

I want to debug my AL extension code  but debugger is not working on VS Code. Please suggest if I'm missing on any settings.

Thanks in advance!

Khudeja

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Are you on-premise or SaaS? Debugging on SaaS is actually disabled also on sandbox.

  • khudeja Profile Picture
    305 on at

    Hi Stefano

    I am using SaaS. Debugger works on other machines for the same tenant sandbox.

    Regards

    Khudeja

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Do you receive errors? Or the debugger is not triggered?

  • khudeja Profile Picture
    305 on at

    Debugging is not triggered.

  • Inkey Solutions Profile Picture
    2,116 on at

    I  am also getting Same Problem ,And Also I don't get a error and the debugger is also not triggered.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,165 Moderator on at

    What kind of environment are you trying to debug?

    On-prem, online or Docker?

    Maybe you can try to restart Visual code, clear the credentials cache and try to debug again?

  • Inkey Solutions Profile Picture
    2,116 on at

    Online(Cloud)

    yes I try

    to restart Visual Code  and also clear the credentials cache but still not Working.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,165 Moderator on at

    Did you try adding breakpoints to see if they are reached?

  • Inkey Solutions Profile Picture
    2,116 on at

    Yes I also try to add breakpoint ,but  it is  not giving me any response.

  • Magicrevette Profile Picture
    215 on at

    I've also a probleme with Al language debugger since Al Language version 11 has been installed. When I set a breakpoint in a Microsoft standard object (opened in .dal with Al Explorer) or in an event subscriber in one my codeunits, the debugger doesn't stop on these breakpoint.

    When I debugg step by step, a new page opens on VSCode and says "No content available" when it should instead enters in a Microsoft standard object.

    I work on an OnPremise environment. I try to debug the codeunit 91 Purch-Post (Yes/No) and to subscribe to the event OnBeforeConfirmPost, but I can't enter in the event, neither can I rise my event publisher.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,926 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans