When I debug the SQL script with SSMs today, I suddenly get an error: Unable to start T-SQL debugging. Could not attach to SQL Server process on----Think of the recent computer has not changed, except yesterday in the computer created a domain, and then deleted. Think about where the account is going to be the problem. But tossing and turning so many site search, there is no result, they suggest the place, I have no problem, but is an error.
Finally found the reason:
because of SQL Server in the Windows Login mode login account has a problem, can not be caused by login. because obviously I am the SQL account and Windows account both support landing, but found unable to login with Windows account. Strange, so delete Windows account, re-add, this time can login. At the same time the problem is solved.
Cannot debug sql:unable to start T-SQL debugging. Could not attach to SQL Server process on