...I have a PAT tester is this likely to damage anything like the VFD.
What’s the easiest way to measure earth leakage or get to the bottom of what’s tripping.
Whatever you do mate, DO NOT do any insulation tests on the VFD via your PAT tester or any megger, or you will be starting another thread here
If it's easy to get into, I'd be having a quick look inside the VFD for any grounding issues and correct A/N polarity, and the stuff mentioned by members above
You could try disconnecting everything in the premises and see if the VFD causes earth leakage trips
Also consider that the earth leakage device may be degraded if it's old and or weathered,
just changed out both of mine after 14? years, both were suss,
the new ones pass every external leakage test I can throw at them, the old ones fail intermittently
Perhaps try powering VFD through a 25 to 50 metre long rolled up extension cord to soften the turn on, might save cash on a transformer
(Warning: urban myth backyarder jerry rig alert!)