Activating and accessing debug mode
So something went wrong, our bad! In some cases we might need a bit more info on what’s going on. We are building out tools in our plugins to help bridge the gap of not being on your system, but getting more detailed information and quick diagnostics. We utilize the WooCommerce logging system for this plugin, so we may ask you to turn on debugging mode in the plugin settings menu, and send us our plugin specific log file created under WooCommerce -> Status -> Logs.
Activating debug mode
- Log in to an administrator account for your store
- Go to the “Settings” menu towards the bottom of the admin menu
- Click “The Rite Plugin Settings”
- Click on the tab labeled “Cost of Goods Options”
- Scroll to bottom (top in version 1.4.2+!) and select setting labeled “Enable debug mode?”
Retrieve the debug log
In some cases, we will have logged critical issues to a log, but for efficiency, we do not have logging turned on at all. If you are having an issue, we need to catch the issue while its happening with debug mode turned on. Once you have turned on debug mode and recreated the issue, retrieve the log:
- Go to the “WooCommerce” menu
- Click “Status” in the WooCommerce menu
- Click on the tab labeled “Logs”
- In the dropdown on the right, select our log labeled “the-rite-sites-profit-plugin-YYYY-MM-DD-(many random characters.log”.
- For pre-version 2.0.0 the filename is: “cost-of-goods-for-woocommerce-YYYY-MM-DD-(many random characters).log”
- Click “View”
Note: Currently, the data printed from this tool is what function is being run in our code, the ids of products, and the costs associated with them. We do not print any other data and will keep this up to date as the plugin expands and more debug statements used.
If you have a point of contact who is asking for this information, please share this data with them at this point.
Also feel free to open a support ticket and attach this debug log with details of the issue and we will work with you to solve it!