logo
P33tr
How to debug javascript in Visual Studio
Initializing search
    • About
      • Docker
      • Dont give up
      • How to do a code review
      • Moving To Mkdocs
      • New start links
        • I just bought a new phone
        • Buy me a coffee
        • Reading a file in C# is so easy.
        • Nested checkboxes problem for asp.net mvc
        • Create a contact manager in a local db
        • Package an electron app
        • Measuring .NET Core Test Coverage with Coverlet
        • Mocking httpcontext in dotnet core
        • Mocking BeginTransation() in Dapper and MOQ
        • How to set up GraphQl for Dotnet core with Dapper and Postgresql
        • ssl issues running localhost
        • Debugging xpath in the browser
        • Make console.log messages stand out
        • Compare two branches in GitHub
        • How to replace text in windows
        • How to add bing maps to a blazor webassembly app
        • How to debug javascript in Visual Studio
        • How to Refresh a ViewComponent from javascript
        • How to Create, deploy and trigger a dotnet core webjob
        • A link gathering
      • Links
      • Links
      • About
      • Certifications
      • CV
      • Nearby.Cafe Privacy Policy
      • start page

    How to debug javascript in Visual Studio

    Install the nuget package https://www.nuget.org/packages/Microsoft.VisualStudio.Web.BrowserLink/

    Add ... csharp if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); app.UseBrowserLink(); } ''' To the Startup.cs Configure method.

    And it still doesnt work.

    Forgett all the above. Add 'debugger' to the script.

    Made with Material for MkDocs