Is there a way to selectively distribute a widget based on configurations?

If you have a debug/QA/internal/release configuration, is there a way you can selectively include the widget for a given configuration.
Is there a way to selectively distribute a widget based on configurations?
 
 
Q