We are creating compound templates using Visual Studio 2008. While debugging, we attach to the process of template builder. However we are not able to locate the template builder process ID while attaching the process in VS 2008.
This works well on our dev server where VS 2008, CMS(Tridion 2011 SP1) and Template builder are on the same server. But doesn't works if the VS2008 and Template Builder are installed on a machine other than CMS server.
Is it a pre-requisite to have all (VS2008, Template builder and CMS) on same server especially for debugging?
When you are on the local machine you can indeed directly connect to the TcmTemplateDebugHost.exe
process, but remotely Visual Studio has a built-in solution you can use.
It is described in the documentation here (login required, see http://docportal.sdl.com/sdltridion for details) and more details on how to set up remote debugging in Visual Studio can be found on msdn