title: How to attach debugger to script
body: <p>In my .NET application there is a window you can type code into (scripts, language is C#. They are run through reflection)</p>
  
  <p>I need a possibility of debugging scripts in compiled application just like in Visual Studio. Is it possible to use MS Debugger or any other for that? And how if yes? </p>
  
  <p>Edit: Is it possible to do  without Visual Studio?</p>
  
  <p>Well, broadly speaking, it's like that:
  User enters code, presses "Run". Sсript is being built in a .dll. And then it's being run through reflection ( rather through methodInfo.Invoke() ).</p>