Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Hit breakpoints on SaaS Business Central when calling web services

Posted on by
Hi,
 
After many failed attempts I'm looking for help.
I used to debug my apis by setting them into actions then runing debug, but it's seems that it's possible to do it by attach request.
 
I try to call webservices from Business Central with Postman or Insomnia and hit breakpoints set in Visual Studio.
 
My launch.json :
 
 
My webservice (API Page) :
 
 
 
When i run / Attach: Microsoft cloud sandbox /  I get this message :
 
 
Then I call my webservice in Insomnia and get a good response (url call =  OData url generated from web service entry in bc) :
 
 
 
But my breakpoints are never hit.
Does someone know what step i'm missing here?
 
Thanks in advance for your help,
Sincerely yours
 
  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,744 Moderator on at
    Hit breakpoints on SaaS Business Central when calling web services

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,277 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,137 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans