1、Add the AOS service account to the user group 'Microsoft Dynamics AX Debugging Users'.
2、Set up the AX server configuration and client configuration parameters and then restart the AOS service.
3、Add a break point in the method of 'processReport'.
4、Open the 'AX Debugger' and then run the report in visual studio.