The debug-js Element"
From Documentation
(Created page with '{{ZKConfigurationReferencePageHeader}} [Default: <tt>false</tt>] It specifies whether to debug JavaScript files. By default, it is false and the compressed version of JavaScri…') |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ZKConfigurationReferencePageHeader}} | {{ZKConfigurationReferencePageHeader}} | ||
− | + | '''Syntax:''' | |
+ | <debug-js>true|'''false'''</debug-js> | ||
− | + | [Default: <code>false</code>] | |
− | To debug JavaScript files, you can specify it to true. Then, the original uncompressed JavaScript files will be loaded instead. | + | It specifies whether to load uncompressed JavaScript files. By default, it is <code>false</code> and ZK loads the compressed version of JavaScript files (*.wpd). They are hard to read and debug, though the footprint is much smaller. |
+ | |||
+ | To debug JavaScript files, you can specify it to <code>true</code>. Then, the original uncompressed JavaScript files with comments will be loaded instead. When you report a javascript error stack trace, it's better to enable this to make calling hierarchy readable. | ||
+ | |||
+ | [[File:ZK_Configuration_Reference-debug-js.png | center]] | ||
{{ZKConfigurationReferencePageFooter}} | {{ZKConfigurationReferencePageFooter}} |
Latest revision as of 03:10, 22 May 2023
Syntax:
<debug-js>true|false</debug-js>
[Default: false
]
It specifies whether to load uncompressed JavaScript files. By default, it is false
and ZK loads the compressed version of JavaScript files (*.wpd). They are hard to read and debug, though the footprint is much smaller.
To debug JavaScript files, you can specify it to true
. Then, the original uncompressed JavaScript files with comments will be loaded instead. When you report a javascript error stack trace, it's better to enable this to make calling hierarchy readable.