One way is to add a global variable and do a check.
ex:
Global number MyGroup5IsActive = 0
Group "MyGroup5" is active ------> Set "MyGroup5IsActive" to 1
Else -------> Set "MyGroup5IsActive" to 0
This is for one group only, you'd have to add one variable and one check for each group. After you finished debugging just delete those variables and events.