Javascript breakpoints in Visual Studio 2017 : <p>I just installed Visual Studio 2017. After starting an ASP.NET MVC application I get the message that chrome debugging in Visual Studio is enabled.</p>

<p>But my breakpoints in Visual Studio won't hit. The breakpoints on Razor code seems to be working but Javascript does not. The breakpoints are not fully red like they should be. A restart, rebuild don't seem to take any effect.</p>

<p>I have the following code example</p>

<pre><code>@Html.Partial("_Test", Model.Test) // debugging works here

&lt;script&gt;
    var i = 1;
    console.log(i); // debugging does not work here or above
&lt;/script&gt;

@section scripts {
    &lt;script&gt;
        var a = 11;
        console.log(a); // debugging does not work here or above
    &lt;/script&gt;
}
</code></pre>

<p>I don't have the chrome debugging console open and I checked the option in Visual Studio ('Enable Javascript debugging..') which is enabled.</p>

<p>According to this blog post I thought this should work:
<a href="https://blogs.msdn.microsoft.com/webdev/2016/11/21/client-side-debugging-of-asp-net-projects-in-google-chrome/" rel="noreferrer">https://blogs.msdn.microsoft.com/webdev/2016/11/21/client-side-debugging-of-asp-net-projects-in-google-chrome/</a></p>

<p>Am I missing something here? Could it be that this is not working in Visual Studio 2017 somehow?</p>

<p>I only have one extension and that is Resharper, but I guess this is not an issue.</p>
