Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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.

UPDATE:

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

share|improve this question
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.