Visual Studio 2017 Failed to launch debug adapter 'chrome'

馋奶兔 提交于 2020-08-22 08:12:08

问题


I have asp.net mvc 5 project. When I try to start debugging with enabled Script debugging mode and using Chrome, the Visual studio 2017 shows error:

It works, when I set 'Enable legacy Chrome JavaScript debugger for ASP.NET' in Visual Studio debugging options:

But, how can I solve this issue without enabling legacy Chrome JavaScript debugger?


回答1:


I've found it's easiest to never use JavaScript debugging in Visual Studio. IMHO the Chrome JavaScript debugger is a much better alternative for debugging.

To turn off debugging and fix the error in VS2019, go to Tools > Options > Debugging > General. Uncheck the following option:




回答2:


Unfortunately, this is a known issue that the Microsoft people has put on the back burner. https://developercommunity.visualstudio.com/content/problem/641639/failed-to-launch-debug-adapter-for-google-chrome-o.html




回答3:


For me it worked if I just unchecked the option -> build, then I checked it again.




回答4:


delete .vs folder from project folder




回答5:


I just unchecked the option. It's working for me:




回答6:


I just clicked the Build tab, then clicked Build Solution. No more error and the solution ran fine after.



来源:https://stackoverflow.com/questions/58767169/visual-studio-2017-failed-to-launch-debug-adapter-chrome

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!