I created a silverlight 4 app , and chose to host it in a ASP.NET Web Application. I added a Silverlight-enabled WCF Service to the Web Application Project.
The Web Application project is now set to be the startup project. This way every thing works fine and I can stop at breakpoints in the WCF services in the Web app project, and also stop at breakpoints in the silvelight project.
In the silverlight project properties, I changed it to be an OOB. This causes the startup project to automatically jump to the silverlight project. OK, so now when I debug the silverlight app it's opened OOB, but now I cant put breakpoints in the WCF services in the Web app project (Although the silverlight client can communicate with the web app project) . So I changed the startup project to the Web app again. But now the silverlight app doesn't start as OOB.
How can i debug in the WCF services, and run it OOB at the same time ? (My app is designed as an OOB, so it's important for me to develop it that way).