简体   繁体   中英

Debugging JS in CRM 2011 Outlook Client

I am looking for a way to debug the Microsoft CRM 2011 Outlook client. We are having an issue on one of our functions that is only happening in the outlook client, and I would like to be able to gather some information as to what is going on but am unable to due to having no way to debug the CRM client.

Has anybody ever found a way to do this? Is there a way to attach Visual Studio or IE to a different application to debug JS using that? I mean I can throw alerts constantly and just see where it gets to, but that's not clean or effective.

Well, I discovered that it can indeed be done. Since the far reaches of the internet did not seem to have much I'll put it here

I have visual studio installed, so prior to the line where the error occured, I added:

debugger;

This prompted me to select which tool I would like to use to debug the JS, and I selected visual studio 2010, and this allowed me to step through as I had hoped

You ALSO have to un-check Disable script debugging (Other) ( Instructions here )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM