Debugging JavaScript
JavaScript runs on client browsers, and almost all browsers, such as Internet Explorer, Microsoft Edge, Chrome, and Firefox, provide the integrated JavaScript debugger and Developer Tools window. With Visual Studio, we can also debug the JavaScript code by setting Internet Explorer as the default browser. Chrome is not supported out of the box, but with certain steps, its can be achieved.
Debugging options in Visual Studio 2015
Visual Studio provides certain decent features to debug JavaScript and troubleshoot errors. JavaScript debugging in Visual Studio only works with Internet Explorer. Debugging can be started by starting the application in a debug mode and then placing some breakpoints in the JavaScript code. When the breakpoint ...
Get JavaScript for .NET Developers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.