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...
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,563 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

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,993 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,116 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans