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 ? 

  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 768 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 541 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 324 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans