quentusrex
quentusrex
DDeno
Created by quentusrex on 6/12/2024 in #help
How to debug usage of deno_core?
I'm looking into an issue with the charming rust crate, where when trying to use echarts through deno_core to create a scatter plot, only 400 of the points are being generated. There is an issue filed here: https://github.com/yuankunzhang/charming/issues/20 Any info on how to enable logging to a file, or console? I've been stepping through the code, after changing dependencies to use local copy of deno_core, and I've ended up with a bunch of println's, but still not seeing how to simply enable logging to console. Nor have I seen where this 400 points limitation would be located. I've confirmed that the data being passed into deno does have the full 500 points in my local test. Also, when using echarts in wasm and html, all the data points are properly rendered. Only missing when using ImageRenderer, which is using deno. Is there some serde configured limitation?
4 replies