How to see what steps are run by cmake --workflow xxx?

I understand you can’t pass additional args like --trace when using cmake --workflow foo. But I really would like to see what actual cmake commands the workflow is issuing, since my workflow results differ when I just use cmake -S . -B ... and cmake --build build. How can I debug this?

There are trace and debug fields in configuration presets