My preference (and many will disagree) is to interrupt power between the VFD and the motor. Use a fourth contact on the safety contactor to break the enable signal to the VFD.
This fourth contact ideally would be early break, late make. The idea is to break the enable to the VFD before or simultaneously with breaking the power circuit between it and the motor. Then the VFD cannot be re-enabled until that safety circuit is satisfied closing the contactor.
Some VFD manuals will warn the installer not to break the circuit between a running VFD and its load. I have done it anyway. I'd rather violate the recommendations of a book than pick up severed appendages off the production floor. It is even more important not to close the load circuit while the VFD is already in run mode. Using a fourth contact makes it highly unlikely that the drive can go into run mode until the other three poles are closed.
Some folks like to kill power feeding into the VFD. This is even worse for wear for the VFD in my experience. I have not seen a drive fail because I used a contactor between the drive and motor using this method. I have seen many of them go up in smoke when being powered up. Many of those situations were caused by short cycling of the safety circuit which supplied power input to the drives. (Operator abusing the e-stop button for non-emergencies).
Breaking the digital input to a standard VFD is not safety. What if that VFD digital input decides to quit in the "true" state and the drive "thinks" the run command is still active? Unlikely? Yes, but that exact scenario does happen. I have seen it twice in 20 or so years of working with automation.
You need to break power to the motor when the safety circuit is not satisfied. How you go about doing that can be debated.
The overall approach to any safety design should begin with a safety analysis. Physical guarding that prevents a human from getting into the danger zone is always preferred to electrical circuits that attempt to save her or him. Even redundant and highly reliable designs are not as good as a big guard that must be unbolted and moved to gain access. I know this is not always possible or feasible.
I would never trust a digital input on a powered VFD to keep it from running. I would much more trust (but not 100%) a contactor to open and break to motor power circuit.