The easiest way to enable debug mode is to, within Steam, right-click on Europa Universalis 5 and then open its Properties ...
That means you can use Windows Sandbox, which automatically wipes itself, to test out any software that you don't completely ...