I'm having trouble debugging a Dynamics CRM Online (2015) plug-in (C#). I'm following the instructions on this MSDN article to attach to a process. In the Attach To Process window, I select "Show processes from all users" and refresh. However, I don't see any of the four service processes listed (I think the plug-in type is "online" in my case).
- w3wp.exe (while having the CRM Online instance open in IE)
- Microsoft.Crm.Application.Hoster.exe
- CrmAsyncService.exe
- Microsoft.Crm.Sandbox.WorkerProcess.exe
I've already deployed and registered the plugin using the plugin registration tool. I've never done this before so I may be going about it the wrong way. Any ideas?
Per the link you referenced, if you are working with Dynamics CRM Online you cannot attach to any of the CRM processes, since they are not running locally.
The first paragraph states (emphasis added by me):
You will need to use the Plugin Profiler to Debug plugins executing in CRM Online.
From Analyze plug-in performance: