我正在尝试使用源文件调试应用程序。它们是Typescript文件。我正在用chrome调试,但我只能调试cordova生成的javascript文件,而且很难调试。可以调试打字文件吗? ng b --project=<NameProject>
cordova build android
cordova run android
因此,今天在调试我的TypeScript代码时,我在VSCode中遇到了一个相当大的错误。启动调试会话时。我无法与“调试控制台”交互。“调试控制台”窗口没有响应。“调试控制台”选项卡似乎没有从我的浏览器(chrome)接收任何信息。
我的launch.json:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.m
我正在尝试使用下面的命令和获取以下错误,为Visual的客户端调试配置的调试端口。
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
[96138:85251:0321/103001.249367:ERROR:browser_gpu_channel_host_factory.cc(121)] Failed to launch GPU process.
Created new window in existing browser session.
我也试过expo
当使用Cassini (VisualStudio2015Version14,update 3)调试.NET 4.6.1 web应用程序时,我在使用TypeScript的页面上得到了此错误:
Refused to execute script from 'http://localhost:53049/Scripts/app.ts' because its MIME type ('video/vnd.dlna.mpeg-tts') is not executable.
这些错误发生在Chrome版本55.0.2883.87m(64位),而不是IE.这个错误似乎是在上
我无法在VS2019集成开发环境中调试我的Typescript文件。我有调试选项“允许在Chrome中调试Javascript ...”选中,但每当我在typescript文件中设置断点时,一旦项目启动,它就会更改为带有警告符号的断点图标和带有错误消息的白色中心 This breakpoint is not yet bound and will not be hit 然而,我可以在VS2019打开的浏览器窗口中打开我的Chrome开发工具,并在Chrome开发工具的“源”标签中设置我的typescript文件中的断点。当这些断点被击中时,VS2019的行为就像我在集成开发环境中设置了它们一样
在尝试使用Typescript (v1.4)在Visual Studio (2013更新4)中运行Aurelia演示应用程序时,我在视图的TS文件中遇到了这个可怕的错误。
The breakpoint will not currently be hit. No symbols have been loaded for this document.
此设置与原始设置非常相似,因为在SystemJS中使用config.js。我在IE11的IIS express中运行它。
如果将Aurelia设置更改为一个捆绑的JS文件,并使用requiredJS,则Typescript调试在VS中工作得很好。本例
当我的Firefox调试器(也是Chrome)尝试查找源.ts文件时,我得到了以下错误 Error while fetching an original source: request failed with status 404
Source URL: https://localhost:44308/TypeScript/DateTimeHelper.ts 相关的源图指向正确的解决方案位置 {"version":3,"file":"DateTimeHelper.js","sourceRoot":"","
当我在Google Chrome中从visual studio 2017调试启动一个webapi或angular项目时,它会打开一个新的浏览器,似乎是一张空白的石板,因为没有显示任何链接或用户配置文件。
我如何才能找出传递了哪些开关,才能让chrome像Visual Studio 2017那样成为“空白板岩”?
我已经将google chrome设置为默认的调试浏览器,并且可以看到它的启动路径。