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...
Unanswered

Issues debugging API

(0) ShareShare
ReportReport
Posted on by 71

Hi,

I'm having some troubles debugging my custom API on Business Central On Premise.

The debugging used to work just fine, then stopped working, then worked again, then again it just doesn't start, so I don't think I can be an issue with my configuration.

I'm working with Postman, with OData and REST custom APIs. My issue is that when I launch the debugger, it doesn't stop on my breakpoints.

I've set multiple breakpoint in my APIs' triggers (onOpenPage, onAfterGetCurrRecord etc.), I publish without debugging (Ctrl F5) then Debug without publishing (Ctrl Shift F5) (il also tried with debug with publishing (F5)), the debugger is launched but doesn't stop on my breakpoints.

I'm i doing someting wrong ? 

I have the same question (0)
  • Amit Profile Picture
    2,557 on at

    Hi,

    Use the below link for debugging the AL code.

    https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-debugging

    Regards

    Amit Sharma

    www.erpconsultors.com

    Press Yes if Info is useful

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,143

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans