Debug JS in CRM 2011 Outlook Client

I am looking for a way to debug a Microsoft CRM 2011 Outlook client. We had a problem with one of our functions, which occurs only in the Outlook client, and I would like to get some information about what is happening, but I cannot, due to the lack of the ability to debug the CRM client.

Has anyone ever found a way to do this? Is there a way to connect Visual Studio or IE to another JS debugging application using this? I mean, I can constantly alert you about alerts and just see where this happens, but it's not clean or effective.

+4
source share
1 answer

Well, I found that it really can be done. Since there seems to be not much in the far reaches of the Internet, I put it here.

I have a visual studio installed, so before the line where the error occurred, I added:

debugger;

This prompted me to choose which tool I would like to use for debugging JS, and I chose Visual Studio 2010, and it allowed me to get through as I hoped

You should also cancel the Disable script debugging (other) ( Instructions here )

+2
source

Source: https://habr.com/ru/post/1495567/


All Articles