简体   繁体   中英

Debug Typescript (or JavaScript) with a “Web Site Project” in Visual Studio

I am trying to get an Aurelia project working in Visual Studio. I followed the steps outlined here and it builds and runs correctly.

This process has me using a "Web Site Project" (Not a Web Application Project). This is so that the tsconfig.json file can be used.

While it runs just fine, I cannot find a way to debug. (Meaning set a breakpoint and have the the app break and let me step through the code.)

Is Typescript/JavaScript debugging not supported with Web Site Projects? (I am using VS 2015).

If is supported for Web Site Projects, then I would love a suggestion on how to enable it or troubleshoot it.

Debugging in VS in general is only supported with Internet Explorer. If you tried an other browser (edge?), that may be your problem.

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