简体   繁体   English

如何使用IntelliJ Idea Community Edition调试Dart客户端应用程序?

[英]How to debug a Dart client Side application using IntelliJ Idea Community Edition?

I would like to know if it is possible to debug a client side web application using IntelliJ Idea 14.1+. 我想知道是否可以使用IntelliJ Idea 14.1+调试客户端Web应用程序。

Until the moment I only have found some tutorials for Webstorm and IntelliJ Idea Ultimate Edition. 到目前为止,我只发现了一些Webstorm和IntelliJ Idea Ultimate Edition的教程。

Open the Dartium devtools F11 (in Dartium), search for the Dart source files set a breakpoint and reload the page (as in JavaScript). 打开Dartium devtools F11 (在Dartium中),搜索Dart源文件设置一个断点并重新加载页面(如JavaScript中一样)。

You can also open the Observatory and use the debugger integrated there but this debugger is not yet as comfortable as the Dartium devtools debugger. 您也可以打开天文台并使用集成在其中的调试器,但该调试器还不如Dartium devtools调试器舒适。

For IntelliJ Idea 14.1+ (Ultimate Edition), You can use IntelliJ's JavaScript debugger for Dart debugging. 对于IntelliJ Idea 14.1+(最终版),您可以使用IntelliJ的JavaScript调试器进行Dart调试。 I wrote the set up instruction for WebStrom. 我为WebStrom编写了设置说明。 And it can also apply to IntelliJ Idea (with Dart plugin). 它也可以应用于IntelliJ Idea(带有Dart插件)。

http://blog.ntaoo.com/2015/04/lets-start-dart-with-brilliant.html http://blog.ntaoo.com/2015/04/lets-start-dart-with-brilliant.html

The community edition doesn't provide JavaScript Debugger so it doesn't seems to enable Dart debugging. 社区版未提供JavaScript调试器,因此似乎未启用Dart调试。 (Correct me if there's some way to enable it) (如果有某种方法可以启用它,请纠正我)

I think that you cannot do this because JetBrains IntelliJ Idea Community Edition does not intended for such use (web development). 我认为您无法执行此操作,因为JetBrains IntelliJ Idea社区版不适合此类用途(Web开发)。

Community Edition 社区版
A free and open-source IDE for Java, Groovy, Scala and Android development. 一个免费的开源IDE,用于Java,Groovy,Scala和Android开发。

Ultimate Edition 终极版
A complete toolset for web, mobile and enterprise development. Web,移动和企业开发的完整工具集。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM