title: How to debug COM object in Visual Studio 6.0 that is created in an ASP page?
body: <p>I have an old C++ COM component which has to stay in Visual Studio 6.0 format.  I can't for the life of me figure out how to debug the code in the actual COM component.</p>
  
  <p>I'm able to build it in debug mode, add breakpoints and attach it to the dllhost.exe process, but the Visual Studio environment will only show me the disassembly from dllhost.exe and not my source code (It also doesn't stop on the breakpoints).</p>
  
  <p>I remember a while ago there was a way to make IIS (or inetinfo.exe) the <em>target</em> of your debug action (i.e. when Visual Studio 6.0 asks you for the executable to launch your dll) and IIS would run in a single process mode.  There was a registry key you needed to change, but googling hasn't helped.</p>