The enable-source-map Element
From Documentation
Since 10.0.0
Syntax:
<enable-source-map>true|false</enable-source-map>
[Default: false
]
It specifies whether to using source map to debug JavaScript files. By default, it is false
and ZK loads *.wpd
, the merged JavaScript files of the same package. Those files are roughly categorized by package (e.g. zk.wpd or zkbind.wpd).
To debug JavaScript files with more precise directories and files, you can specify it to true
. Then, we can locate the JavaScript (TypeScript after ZK 10.0.0) files easily.