Wednesday, June 17, 2020

Visual Studio Error: Fails to launch Debugger for ASP.NET web project

Visual Studio Debugger launch error : One or more error occurred
I recently ran into the following error while trying to launch Visual studio debugger for one of my ASP.NET web project


Simple web application which does some data rendering connected to a COSMOS DB. well it was working fine for some time, and then suddenly it started failing.
The error reads :

One or more errors occurred. 

Failed to Launch Debug adapter. Additional Information may be available in the output window. 

Cannot connect to runtime process, timeout after 10000 ms - Reason : Cannot connect to target: connect ECONNREFUSED 127.0.0.1:61479



Turned out that the problem was that during the last debug session/run, the chrome instance had not died/closed (which it usually does by itself). So this time launching chrome was giving the error. Well the error is cryptic and not much helpful, unless you look it up.
so go ahead, locate your previuosly launched debug browser window and close it. And press debug again and you should be good to go.



No comments:

Section 80C TMT 2023(PA) – Standard Deduction amounting to a maximum of Rs 8670 under IT rule

With the recently concluded Tax filing season (which if I may draw parallel to the Christmas holiday season enjoyed by one and all), Indians...