Here is my javascript file yogaspace.js
var input = document.getElementById('location');
var options = {
types: ['(cities)'],
componentRestrictions: { country: "us" }
};
var autocomplete = new google.maps.places.Autocomplete(input, options);
debugger;
var result = autocomplete.getPlace();
this is the whole file and it is being called in the index.cshtml file at the bottom of the view like this.
@Scripts.Render("~/bundles/js")
and the js is a bundle that has the yogaspace.js file in it. The script gets used and the autocomplete feature works fine but the breakpoint at "debugger" never gets triggered. I also tried setting a breakpoint but that doesn't work as well. Any help! I read in other posts that VS has some problems with javascript debugging but it says that adding debugger; will always work.
VS 2013, MVC 5, Razar View Engine, IE 11