That depends on if your COM+ application is set to "In-process" or
"Out-of-process" activation.
In any case - you have to open the properties dialog for your project and go
to the page where you set the debuggin options.
For C# projects - that is under "Configuration Properties" and "Debugging"
Here you have to set the Debug mode to "Program"
Now - if your application is "In-Process" - you have to find the executable
that you run and paste that into the "Start Application" field
If your application is "Out-of-process" - you have to type in the path for
"dllhost.exe" into the "Start Application" field. On a "normal" windows XP
installation that would be c:\windows\system32\dllhost.exe
Then in the "Command Line Arguments" field you have to type-in
"/ProcessID:{xxx}" where the {xxx} is the application ID of the COM+
application. You can find the application ID of the COM+ application by
opening the properties page for it in the Component Services administration
tool.
Note - when the application is In-Process - you have to be sure it is shut
down before debugging. Right-Click the application in the Component Services
administration tool and select the menu item "Shut Down". Now you can debug
your COM+ application by clicking "Start". After it has started ( you see
the word [run] on the title of VS ) you can run you client application.
If you application is InProcess, you should also be able to debug it by
attaching to a running process ( using the menu item Debug|Processes... )
This would probably be necessary if your client is a web application
(haven't tried it).
/Pete