I am looking for opportunities if there any way in which I can debug my nopCommerce plugin. I am working on a large sale product on nopCommerce therefore I am in such a critical situation to make a real time test or debug. Because I am quite unable to find out from where the exception is coming. Is there any available process or kit??
Thanks in advance.
In your Visual Studio project, set a break point in your plug-in class. In your Visual Studio project, select Debug > Attach to Process…. Select the PluginRegistration.exe process and click Attach. You should see that the Plug-in Registration tool is now running in debug mode.
A popup will appear asking you to choose a file to upload. Click on the Choose File button, navigate to the downloaded zip file and select it. Click on the Upload plugin or theme button. Restart your website, so that the new version is loaded and used by your nopCommerce installation.
Upload the plugin to the /plugins folder in your nopCommerce directory. And restart your application (or click the Reload list of plugins button). Upload the plugin or theme using the Upload plugin or theme button indicating the path to the location of the archive with the plugin in your local storage.
Plugin debugging is the same as nopCommerce core debugging.
Please see admin area > system > log. It should have the entire stack trace. You can use it to the find where the exception is thrown from
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With