简体   繁体   English

在Visual Studio中使用“网站项目”调试Typescript(或JavaScript)

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

I am trying to get an Aurelia project working in Visual Studio. 我正在尝试在Visual Studio中运行一个Aurelia项目。 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). 这个过程让我使用“网站项目” (不是Web应用程序项目)。 This is so that the tsconfig.json file can be used. 这样可以使用tsconfig.json文件。

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? 网站项目不支持Typescript / JavaScript调试吗? (I am using VS 2015). (我正在使用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. 通常,只有Internet Explorer支持VS中的调试。 If you tried an other browser (edge?), that may be your problem. 如果您尝试使用其他浏览器(边缘?),则可能是您遇到的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Visual Studio项目中包含网络网站源文件 - how to include net web site source files in Visual Studio project 是否可以在Visual Studio 2019中使用TypeScript创建用于开发javascript库的项目? - Is it possible to create project for developing javascript library with TypeScript in Visual Studio 2019? 如何将 javascript 文件添加到 Visual Studio Community 2019 typescript 项目 - How add javascript files to Visual Studio Community 2019 typescript project 在Visual Studio 2013中调试Javascript - Debug Javascript in Visual Studio 2013 在Visual Studio 2010中调试JavaScript? - Debug JavaScript in Visual Studio 2010? 无法在Visual Studio中调试javascript - Unable to debug javascript in Visual studio 在 Mozilla Firefox 中开始调试 Web 应用程序时无法在 Visual Studio 中调试 JavaScript 代码 - Unable to debug JavaScript code in Visual Studio when starting to debug a web app in Mozilla Firefox 当JavaScript源位于其他文件夹中时,如何在Visual Studio Code中调试Node TypeScript - How to debug Node TypeScript in Visual Studio Code when the JavaScript source is in a different folder Visual Studio的JavaScript项目类型? - JavaScript project type for Visual Studio? Visual Studio-打字稿项目不同步 - Visual Studio - typescript project out of sync
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM