Below is the URL of the Microsoft Dynamics AX Support Team's Blog post on "Quick and easy debugging in AX 7". This purpose of this blog post is to show how you can get quickly get started with debuggingin AX7, specifically by showing how you can debug an error message issued from AX.

https://blogs.msdn.microsoft.com/axsupport/2016/03/10/quick-and-easy-debugging-in-ax-7/?utm_content=32653442&utm_medium=social&utm_source=linkedin