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.