- Right-click in the page/form shown by the Dynamics 365 app and select the Debug option.
- Select Visual Studio as the debug tool to use.
- In Visual Studio, in the Exception Settings window, select all options/boxes for the JavaScript Runtime Exceptions option.
- In Visual Studio, press F5 to continue running the Outlook App. Perform an operation that leads to the exception/error in your code or to a "debugger" statement that you've added to the code.
- You can then proceed to step through the code, get variable values, etc.
Tim Dutcher's blog covering the technical side of working with Microsoft Dynamics 365 (CRM), Power Platform and Microsoft Azure.
Friday, December 29, 2017
Debugging JavaScript in Dynamics 365 Outlook App
Here's a quick tip on how to debug your custom JavaScript code in the Dynamics 365 App for Outlook
Subscribe to:
Posts (Atom)