system.xml 1.2 KB

123456789101112131415161718192021222324
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
  9. <system>
  10. <section id="dev">
  11. <group id="js">
  12. <field id="session_storage_logging" translate="label comment" type="select" sortOrder="100" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
  13. <label>Log JS Errors to Session Storage</label>
  14. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  15. <comment>If enabled, can be used by functional tests for extended reporting</comment>
  16. </field>
  17. <field id="session_storage_key" translate="label comment" type="text" sortOrder="110" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
  18. <label>Log JS Errors to Session Storage Key</label>
  19. <comment>Use this key to retrieve collected js errors</comment>
  20. </field>
  21. </group>
  22. </section>
  23. </system>
  24. </config>