$ dune build prog.exe --trace-file trace.json This captures the commands that are being run: $