{"id":1133,"date":"2023-04-25T12:01:25","date_gmt":"2023-04-25T10:01:25","guid":{"rendered":"http:\/\/daxvisionerp.com\/?p=1133"},"modified":"2025-10-22T14:30:02","modified_gmt":"2025-10-22T14:30:02","slug":"debug-sandbox-custom-srevice","status":"publish","type":"post","link":"https:\/\/daxvisionerp.com\/home\/debug-sandbox-custom-srevice\/","title":{"rendered":"Debug Custom Service of a  SandBox environment which is hosted by Microsoft"},"content":{"rendered":"\n<p>I was following <a href=\"https:\/\/learn.microsoft.com\/en-us\/dynamics365\/fin-ops-core\/dev-itpro\/database\/dbmovement-scenario-debugdiag\" target=\"_blank\" rel=\"noopener\">this documentation<\/a> to debug our SandBox environment from one of our cloud Developer virtual machines, and it was generally working. But when I tried to debug a custom service (API call from PostMan) the debugger did not stop at my breakpoint. <\/p>\n\n\n\n<p>I spent some time and I managed to make it work. The 2 key things were:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Change IISExpress to IIS in DynamicsDevConfig.xml (<a href=\"https:\/\/community.dynamics.com\/365\/financeandoperations\/b\/ievgensaxblog\/posts\/msdyn365fo-how-to-switch-from-iis-express-to-iis-on-development-vm\" target=\"_blank\" rel=\"noopener\">https:\/\/community.dynamics.com\/365\/financeandoperations\/b\/ievgensaxblog\/posts\/msdyn365fo-how-to-switch-from-iis-express-to-iis-on-development-vm<\/a>)<\/li>\n\n\n\n<li>Install PostMan directly on the DEV VM and connect to the local environment in PostMan instead of SandBox. As I have changed the Web.Config file based on the documentation, I am still debugging SandBox although in Postman the Local Dev&#8217;s AX is set as environment to use.<\/li>\n<\/ul>\n\n\n<div class=\"taxonomy-post_tag wp-block-post-terms\"><a href=\"https:\/\/daxvisionerp.com\/home\/tag\/customservice\/\" rel=\"tag\">#CustomService<\/a><span class=\"wp-block-post-terms__separator\">, <\/span><a href=\"https:\/\/daxvisionerp.com\/home\/tag\/debugg\/\" rel=\"tag\">#Debugg<\/a><span class=\"wp-block-post-terms__separator\">, <\/span><a href=\"https:\/\/daxvisionerp.com\/home\/tag\/postman-2\/\" rel=\"tag\">#PostMan<\/a><\/div>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was following this documentation to debug our SandBox environment from one of our cloud Developer virtual machines, and it was generally working. But when I tried to debug a custom service (API call from PostMan) the debugger did not stop at my breakpoint. I spent some time and I managed to make it work. [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"1080","footnotes":""},"categories":[19],"tags":[199,201,203],"class_list":["post-1133","post","type-post","status-publish","format-standard","hentry","category-dynamics-365fo","tag-customservice","tag-debugg","tag-postman-2"],"_links":{"self":[{"href":"https:\/\/daxvisionerp.com\/home\/wp-json\/wp\/v2\/posts\/1133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daxvisionerp.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daxvisionerp.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daxvisionerp.com\/home\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/daxvisionerp.com\/home\/wp-json\/wp\/v2\/comments?post=1133"}],"version-history":[{"count":2,"href":"https:\/\/daxvisionerp.com\/home\/wp-json\/wp\/v2\/posts\/1133\/revisions"}],"predecessor-version":[{"id":1339,"href":"https:\/\/daxvisionerp.com\/home\/wp-json\/wp\/v2\/posts\/1133\/revisions\/1339"}],"wp:attachment":[{"href":"https:\/\/daxvisionerp.com\/home\/wp-json\/wp\/v2\/media?parent=1133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daxvisionerp.com\/home\/wp-json\/wp\/v2\/categories?post=1133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daxvisionerp.com\/home\/wp-json\/wp\/v2\/tags?post=1133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}