{"id":1723,"date":"2008-01-04T19:44:00","date_gmt":"2008-01-04T19:44:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/cesardelatorre\/2008\/01\/04\/how-to-enable-debugging-on-server-dynamics-ax\/"},"modified":"2008-01-04T19:44:00","modified_gmt":"2008-01-04T19:44:00","slug":"how-to-enable-debugging-on-server-dynamics-ax","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/how-to-enable-debugging-on-server-dynamics-ax\/","title":{"rendered":"How to enable debugging on Server &#8211; Dynamics AX"},"content":{"rendered":"<p><P>In most of the cases, our X++ classes have to be executing within the server (AOS). In a default deployment we&#8217;re not able&nbsp;to debug server code.<\/P>\n<P>To have this Dynamics AX feature, we must&nbsp;enable it in \u2018<EM>Microsoft Dynamics AX Server Configuration Utility<\/EM>\u2019 tool (within &#8216;Administrative Tools&#8217; menu).<\/P>\n<P>You may need to use the Manage button to Create a new Configuration. Then, on the first tab, Application Object Server, make sure that the check box option &#8220;Enable breakpoints to debug X++ code running on this server&#8221; is checked.<\/P>\n<P>There is a direct registry key to do it, too. (but&nbsp;this way&nbsp;may be not supported):<\/P>\n<DIV>\n<P class=\"Code\"><FONT face=\"Lucida Console\">REGEDIT4<\/FONT><\/P>\n<P class=\"Code\"><FONT face=\"Lucida Console\">&nbsp;<\/FONT><\/P>\n<P class=\"Code\"><FONT face=\"Lucida Console\">[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Dynamics Server\\4.0\\01\\ Original (installed configuration)]<\/FONT><\/P>\n<P class=\"Code\"><FONT face=\"Lucida Console\">&#8220;xppdebug&#8221;=&#8221;1&#8221;<\/FONT><\/P><\/DIV><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In most of the cases, our X++ classes have to be executing within the server (AOS). In a default deployment we&#8217;re not able&nbsp;to debug server code. To have this Dynamics AX feature, we must&nbsp;enable it in \u2018Microsoft Dynamics AX Server Configuration Utility\u2019 tool (within &#8216;Administrative Tools&#8217; menu). You may need to use the Manage button [&hellip;]<\/p>\n","protected":false},"author":362,"featured_media":12806,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[123],"class_list":["post-1723","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cesardelatorre","tag-x"],"acf":[],"blog_post_summary":"<p>In most of the cases, our X++ classes have to be executing within the server (AOS). In a default deployment we&#8217;re not able&nbsp;to debug server code. To have this Dynamics AX feature, we must&nbsp;enable it in \u2018Microsoft Dynamics AX Server Configuration Utility\u2019 tool (within &#8216;Administrative Tools&#8217; menu). You may need to use the Manage button [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/posts\/1723","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/users\/362"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/comments?post=1723"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/posts\/1723\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/media\/12806"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/media?parent=1723"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/categories?post=1723"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/tags?post=1723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}