Skip to main content

Posts

Showing posts with the label Debug

How To: Debug Dynamics 365 CRM Online Plugin

In a online instance we do not have that much flexibility to debug the plug-in, as we do not have the server on-premise and access to it. To get away with this scenario and debug a CRM Online plug-in we can do that using Plugin Registration Tool by Installing Plugin Profiler and attaching the debug process to the step of our plugin. CRM Online version we cannot have a real-time debugger when the application is running, to simulate this Plugin profiler stores the profiled component into a exception log or an entity (based on user selection) and provides ability to debug the plugin in an simulated environment. Below is the Step-by-Step process to achieve this: Open Plugin Registration Tool Install Plugin Profiler Once Profiler is installed successfully, you should see "Plugin Profiler" in Registered Plugin section Go to the step of your plugin where you would like to debug and click on "Start Profiling" I will be storing the Profiled compone...