How to use source of Cesium for debugging?

Hi!

I believe (not sure) that someone said it's better to use the source of Cesium for debugging purposes (rather than the obfuscated build results).

How can I do it?

I tried to use the sources of Cesium 1.8 instead of the normal Cesium.js, plus adding the dependencies at the start of the HTML file:

    <script src="js/Cesium-dependencies/dojo-release-1.9.3/dijit/dijit.js"></script>
    <script src="js/Cesium-dependencies/es5-shim/es5-sham.js"></script>
    <script src="js/Cesium-dependencies/es5-shim/es5-shim.js"></script>
    <script src="js/Cesium-dependencies/jasmine-2.2.0/jasmine.js"></script>
    <script src="js/Cesium-dependencies/jshint-2.1.10/jshint.js"></script>
    <script src="js/Cesium-dependencies/requirejs-2.1.9/require.js"></script>
    <script src="js/Cesium-1.8-src/Cesium.js"></script>

But it didn't work.

What is the right way to use a non-obfuscated version of Cesium for debugging purposes?

Thanks in advance

Dmitri Pisarenko

Hi,

The unminified version of Cesium.js is in Cesium/Build/CesiumUnminified

If you use that you can set breakpoints etc…

I don’t think you need those depencies.

Willem

Willem, many thanks!

The unminified version actually works.

Dmitri Pisarenko