Debug Mode

The debug mode provides a more detailed logging output:
  • PHP version

  • A list with activated extensions

  • If XDebug is enabled, check by automatically setting the Monolog log level to LogLevel::DEBUG
    if not overwritten with the command-line option -log-level

In addition, it ignores:
  • Product category relations that do not exist

  • Product images that are not available

  • Product images that get not cleaned up, e.g., the files are not available anymore

  • Product links (related, upsell, crosssell, etc.) for SKUs that are not available anymore

  • Product tier prices that can not get deleted, e.g., they are not available anymore

  • Product URL rewrites that can not get created

  • configurable products for SKUs that are not available or available more than one time

  • the archive plug-in is not able to make the archive directory, e.g., invalid permissions

  • missing option values

  • mission option values plug-in will send a CSV file with the disappeared option values to the configured mail address

It logs the listed issues as warnings to the console

  • With debug mode enabled, missing attribute option values will not throw an exception; instead, they will be logged and placed in an internal stack if the MissingOptionValuesPlugin has been activated and placed on an internal stack

  • If MissingOptionValuesPlugin is enabled, a CSV file with the missing option values is created in the temporary import folder

  • If the plugin configuration has a Swift mailer enabled, the CSV file will get sent to the specified mail addresses as well

That helps developers test imports with partially invalid CSV files that do not break data consistency.

  • To improve performance, metadata containing field data that allows tracing over artifacts is only available in debug mode.

  • In production mode, exceptions now only contain the name and line number of the actual artifacts.