By David, on July 28th, 2011
If you want to debug an MSBuild script from without Visual Studio, you need to use the /debug command line option.
The trick is that this option is not normally available; you need to set a registry key to enable it.
Enable the MSBuild Debugger
Under the HKLM\Software\Microsoft\MSBuild\4.0 key, create a string value called EnableDebugger with a value of . . . → Read More: Debugging MSBuild scripts
By David, on June 28th, 2010
Prerequisites:
Determine the name of the custom action you want to debug
Ensure you have the source code and debug symbols for your custom action
Steps
Set the MsiBreak environment variable (user or system) to the name of the custom action. For example:
Setx MsiBreak MyCustomActionName
Run your installer
At the point where your custom action is about to run, you should get . . . → Read More: HOW TO: Debug a Windows Installer custom action
By David, on May 28th, 2009
This details how you can debug an application running on a remote machine from Visual Studio on your local machine, as if the remote application was running on your local machine.
The keys are:
There must be a user account with the same username and password on the remote machine and the local machine (MACHINE account, not domain . . . → Read More: Remote debugging from Visual Studio 2008 on a domain machine to a machine not on the domain