2.3. Configure Remote Debugging

The final task for creating a development environment is to configure remote debugging between the host and guest machines. These steps can also be applied to configure remote process debugging on any server. Prerequisites for remote debugging:

  • Create a developer account (e.g. SPDeveloper) in the credential store used by your SharePoint server (either Active Directory or the server's user manager found in Administrative Tools, Computer Management, Local Users and Groups). This account name should match the account name you will use on the host machine during development, and the password must match as well. Add this account to the Domain Admins group in the development Active Directory, or the local Administrators group if creating a local account. An account with the same name must be listed in the Logon as a service policy list (Local Security Settings, Local Policies, User Rights Assignment).

  • Visual Studio (2005 or above) is installed to the host operating system.

The following steps share the SharePoint DLLs and web folder so you may access them remotely, and install the remote debugging tools to the guest environment:

  1. On the guest (SharePoint) machine, open Windows Explorer and navigate to the following location:

    C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ISAPI

    Right-click the ISAPI folder, select the Sharing tab, and enable Share this folder. It will ease navigation to change the Share name from ISAPI to a more descriptive ...

Get Professional SharePoint® 2007 Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.