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...
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,100 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,105 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,100 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,105 Moderator on at

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

  • Inkey Solutions Profile Picture
    2,100 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

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 3,229

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,867 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans