SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to debug a webpart in SharePoint 2007 using Visual Studio 2008. When I click debug, it deploys the solution to http://localhost:8080. The url I want to deploy to is on a different port. How do I debug against a different url? In VS 2010 you can just change the deployment target url in the properties window.


You can change the deployment port by changing "Start browser with URL" in the Debug tab of the project properties.

share|improve this question
up vote 1 down vote accepted

you will need to do the following:

  • deploy wsp
  • manually attach your debugger to the w3wp.exe process using "debug -> attach to process".
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.