vyos-op-run is a native executable so it cannot be modified in-place for debugging if anything goes wrong. It's also security-critical so it's important to have a way to see that it's doing what one thinks it should be doing.
It's likely beneficial to add detailed debug logging to it.