WebStorm 上的 Angular dart.调试不再起作用 [英] Angular dart on WebStorm. Debug is no more working

查看:36
本文介绍了WebStorm 上的 Angular dart.调试不再起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一周以来,我在 WebStorm 中调试 angular dart 应用程序时遇到问题.如果我在控制台(服务器)应用程序上使用调试,一切正常.我试图回滚到 angular 4.0.0(在 dart 1.24.3 上),但这没有帮助.我真的不知道什么样的信息会有用.请让我知道是否有一些我可以打印的配置文件,或者对于解决问题可能很重要.我测试了很多配置,但是,目前,我无法正常工作.用打印语句填充我的代码后,有些情况下这种做法还不够.

It is a week now that I have problems debugging angular dart applications in WebStorm. If I use debug on a console (server) application everything works fine. I tried to roll back to angular 4.0.0 (on dart 1.24.3), but this didn't help. I really don't know what kind of info could be useful. Please, let me know if there is some configuration file that I can print or that could be important in order to fix the problem. I tested a lot of configurations, but, at present, I'm not able to work properly. After filling up my code with print statements, there are some cases where also this practice is not enough.

我试图创建一个示例项目.在没有 DDc 和目标 chrome 的情况下,调试器会停止,但不会在所有断点处停止.没有 DDc 和目标 Dartium,它不会停止.

I have tried to create a sample project. With no DDc and target chrome, the debugger stops but not on all breakpoints. With no DDc and target Dartium, it does not stop.

我使用目标 dartium 运行我的应用程序,因为使用目标 chrome 我有一个我无法捕捉到的烦人的错误.现在我明白了,并使用目标 chrome 运行项目,恢复调试器.这是一个很好的新.只是一个问题,是1.24.3版本的问题(Dartium尚未为此版本发布)还是其他问题?无论如何,如果这是一个已知问题,那么在发布 1.24.3 时在 WebStorm 上禁用目标 dartium 不是更好吗?

Edit 2: I was running my application with target dartium, because with target chrome I had an annoying error that I was not able to catch. Now I got it, and running the project with target chrome, revives the debugger. This is a good new. Just a question, is a problem of release 1.24.3 (Dartium has not been released for this release) or something else? Anyway, if this is a known problem, it wouldn't be better to disable the target dartium on WebStorm when the release is 1.24.3?

编辑 3:现在调试器正在工作,但仅限于您正在开发的项目.导入的包不会在断点处停止.由于我的项目分为很多包,我无法调试大约 80% 的代码.我做错了什么吗?

Edit 3: Now the debugger is working, but only on the project you are developing. The imported packages are not stopping on breakpoints. As my project is divided in a lot of packages, I cannot debug approximately 80% of my code. Am I doing something wrong?

推荐答案

您在这里遇到的不是直接在 Angular Dart 或 Dart 问题中的功能,而是在 WebStorm 的 JS 调试器中.

What you are hitting here isn't functionality directly in an Angular Dart or Dart issue, but in the JS Debugger in WebStorm.

在此处打开 YouTrack 上的问题:https://youtrack.jetbrains.com/issues

Open an issue on YouTrack here: https://youtrack.jetbrains.com/issues

不仅包括 Angular 和 Dart SDK 的版本,还包括 WebStorm 的版本,以及断点不起作用的示例.

Include not only the version of Angular and the Dart SDK, but also the version of WebStorm, and an example of where breakpoints are not working.

最后,此问题中的一些信息可能会有所帮助:https://youtrack.jetbrains.com/issue/WEB-30593

Finally, there is some information in this issue that might help: https://youtrack.jetbrains.com/issue/WEB-30593

这篇关于WebStorm 上的 Angular dart.调试不再起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆