You can prefix your build command with OCAMLRUNPARAM=b
as previously answered. I alias OCAMLRUNPARAM=b dune
to dunetrace
for slightly more convenient use when I want to turn traces on for debugging.
1 Like