This happened to me.
For me, the reason was a bad IIS config file.
I was able to fix it by deleting the auto-generated IISExpress folder, which is usually located at %userprofile%/Documents
, e.g. C:Users[you]DocumentsIISExpress
.
When I ran the project again, it created a new folder with a valid IIS config file and I could run the debugger.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…