debugging problems in 1.23 or 1.24 (earcut)

Any time I try to debug in Cesium 1.23 or later, I get taken to the bottom of earcut.js and can’t actually see the source that’s executing. For example, in Chrome if I step in to “viewer.camera.computeViewRectangle()”, my debugger goes to the bottom of earcut.js instead of ever going to Camera.computeViewRectangle.

Is there away around this? Right now we’re sticking with 1.22.1 because of it.

Hello,

That sounds related to this problem: https://github.com/AnalyticalGraphicsInc/cesium/pull/4097

This fix will be included in the 1.25 release on September 1st.

Best,

Hannah