简体   繁体   中英

Debugging Javascript on Windows 10 with VS2015

I upgrade my home computer to Windows 10 and installed VS2015. The default browser is edge. When I debug my project (a sharepoint hosted app), the edge browser launches and no brealpoints are hit.

How do I debug javascript on windows 10 with Vs2015?

Make sure you have Script checked in Options | Debugging | Just-In-Time Options | Debugging | Just-In-Time Options | Debugging | Just-In-Time .
You might also want to try running it from IE

I suspect the problem is that you have 'just my code' enabled in your debugging options and that's causing the breakpoints to get skipped.

Go to tools -> options -> debugging and uncheck the "Just My Code" option to disable this: 在此处输入图片说明

And then try again.

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