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

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

问题描述

现在有一个星期,我在WebStorm中调试角度飞镖应用程序时遇到问题.如果我在控制台(服务器)应用程序上使用调试,则一切正常. 我试图回滚到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?

现在,调试器正在运行,但仅在您正在开发的项目上.导入的程序包不会在断点处停止.由于我的项目分为许多程序包,因此我无法调试大约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上的角度飞镖.调试不再起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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