Can we debug a SP 2010/2013 custom solution like Visual Web Part on a different SharePoint site which is not available on local machine but on a different SharePoint server? I tried to put a site as shown below in image for debugging and this site is not available locally but on a different SharePoint server.
Finally I have come up with a solution to the above exception. Yes we can overcome the above exception and can locally create SharePoint Solution without having SharePoint locally installed and can remotely debug through a local machine.
I have posted detailed step on my blog: