title: How to debug using UnityContainer Resolve?
body: <p>0) How to debug unityContainer?</p>
  
  <p>Im working on a legacy project on the firm, and all projects are loaded using dependency injection using unityContainer. I need to make improvements on the presentation layer, but I cannot debug the code, only the main project, witch loaded all modules.</p>
  
  <p>The code used for loading modules(projects):</p>
  
  <p><code> unityContainer.RegisterType("FrontEndModule", new InjectionMember[0]);</code></p>
  
  <p>On the module, i register all project types like this:</p>
  
  <p><code> unityContainer.RegisterType&lt; IAboutPage, AboutPage>(); </code></p>
  
  <p>And then I run the main form:</p>
  
  <p><code> Application.Run((Form) unityContainer.Resolve&lt; IMainPage >() );</code></p>
  
  <p>1) So there is any way to debug the code of the loaded projects?</p>
  
  <p>2) Do I need to make any change to be able to debug? 
  I've tried to run the form directly, but then there is a lot of injections needed to run. Maybe I would be able to use another IoC framework that permit me to debug the code of loaded projects.</p>
  
  <p>Thanks.</p>