FaxStore
FaxStore comes with a built-in developer mode to make ease of testing transactions and functions created via extensions. Developer mode can be enabled through the configuration file and makes fatal errors crash FaxStore rather than generate an error log which is especially useful when squashing bugs from development.
The main changes developer mode makes are:
Payments will use sandbox APIs with PayPal, Stripe, and Square. Test tokens need to be used in the configuration file if attempting payments during developer mode
Disable error report file generation and directly log it to the console
Some errors can still generate an error-log file as FaxStore internally will create them regardless of the developer state for certain errors. Error files will generally not generate at all during extension development.
Enabling developer mode is simple. Add or edit the developerMode variable to the config file under the siteInformation section.
Open the config.json file and locate developerMode if it exists. Otherwise create it under siteInformation
To enable, set the value of it to true
Save and reboot FaxStore
{
"siteInformation": {
"processPort": 3000,
"domain": "http://localhost:3000",
"ownerId": [],
"developerMode": true // Edit this line to true or false.
}
}Setting developerMode to false will disable it.