The debug-js Element"
From Documentation
m (correct highlight (via JWB)) |
|||
Line 6: | Line 6: | ||
[Default: <code>false</code>] | [Default: <code>false</code>] | ||
− | It specifies whether to | + | 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 true. Then, the original uncompressed JavaScript files will be loaded instead. | + | 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.