简体   繁体   中英

Visual-Studio-2017 can not Debug Javascript

I have a problem with my VisualStudio 2017 . I can't debug my javascript code. First there was that problem that my breakpoints will not be hit: the breakpoint will not currently be hit.

Now I got another problem here is a screenshot of the Error Message: ErrorMessage

Currently I am Using VS2017 , asp.net , angular.js , IIS , Chrome(also tried with IE Edge and Firefox).

Not that this will solve your problem, but I normally use Chrome Developer Tools for debugging javascript.

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

if you wnat to use Visual studio to Debug JS i think you HAVE TO USE INTERNET EXPLORER

Another way is to use Visual studio Code with integrated debugger (https://code.visualstudio.com/docs/nodejs/angular-tutorial)

or (the way i use) use the Chrome Developer Tools

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM