[ANN] Js_of_ocaml 5.9.0

That’s a bit misterious. When and where do you specify that ? The browser execution context has no notion of environment variable.

You can set environment variable for jsoo by setting the jsoo_env global variable. globalThis.jsoo_env = { "OCAMLRUNPARAM": "b=1"}

Alternatively, you can explicitly request backtraces at compile time with the --enable with-js-error command line argument.

2 Likes