ONLY run an Activity during Debug

This might be a strange ask, but is there any way to configure an activity or sequence to ONLY run during a Debug run of a project? Is there a runtime property I can query the returns whether the process is being run in Run, Debug, etc?

Thanks!

@AdamC

I believe this option is not available as of now

but you can place all your activities in a sequence and make it comment according to run / Debug

Hope this is a work around i believe

Thanks