locked
VS 2019 / ASP.NET 2019 - Enable legacy Chrome Javascript Debugger for ASP.NET is missing. in Option > Debugging RRS feed

  • Question

  • User135423268 posted

    Good Day Everyone

    I'm currently using the new Visual Studio 2019 application for my web applications, when I'm trying to enable the "Enable legacy Chrome Javascript debugger for ASP.NET" is not present on the Debugging option, I don't know if this is a bug or Microsoft already remove this option, can anyone confirm this?

    What's the reason I'm using that option, is because I want my application run with another Chrome application which is not connected to the chrome browser which is already open, this also prevents the automatic authentication, which the cookies is saved on the browser even you closed the tab.

    Thanks and regards.

    Thursday, August 22, 2019 2:55 AM

All replies

  • User475983607 posted

    Use Chromes built-in debugger.

    https://developers.google.com/web/tools/chrome-devtools/javascript/

    Thursday, August 22, 2019 11:00 AM
  • User283571144 posted

    Hi amendoza29,

    According to the vs 2019 release notes:

    The ability to use the Legacy Chrome debugger in ASP.NET projects for debugging JavaScript has been removed. You can continue to use the current Chrome debugger built into Visual Studio.

    The reason why VS team remove the feature:

    The legacy JavaScript language service is no longer available. Previously, users had the option of restoring the legacy JavaScript language service. Users will now have the new JavaScript language service out-of-the-box. The new language service is based on the TypeScript language service, which is powered by static analysis. This enables better tooling, so your JavaScript code can benefit from richer IntelliSense based on type definitions. The new service is lightweight and consumes less memory than the legacy service, providing users with better performance as their code scales.

    As mgebhard says ,you could use chrome build-in debugger instead.

    Best Regards,

    Brando

    Friday, August 23, 2019 2:05 AM