Opting in to Associated Domains Development on macOS

On iOS I am using the ?mode=developer option described at https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_associated-domains, which requires the "Associated Domains Development" option to be enabled in the Develop screen on the Settings app.

I am trying to use this option on macOS but cannot find a "Associated Domains Development" option anywhere. How can I enable this on macOS?