title: Visual Studio: how to debug a library with an external executable?
body: <p>I am developing a class library. The library is to be used by another program, an .exe with no source code. The library file location is passed as a parameter to this exe, for example by running: <code>prog.exe lib.dll</code></p>
  
  <p>I would like to debug the library using this .exe (using debug tools such as breakpoints, etc.) How do I use Visual C# to do this?</p>
  
  <p>I found a possible way, which is creating a one-line program which execute <code>prog.exe lib.dll</code>. Surely there is a better way?</p>