Export run-only script greyed out (solution)

I could not find quick answer to this when I bumped into this myself. It’s obvious probably if you read the documentation :wink:

If debugging is enabled, export run-only is disabled.

That’s all…