简体   繁体   English

使用 IntelliJ 调试 GWT

[英]Debuging GWT with IntelliJ

I am currently working on an old GWT project.我目前正在处理一个旧的 GWT 项目。 Project docs were made to develop on eclipse but I prefer to use Intellij.项目文档是在 eclipse 上开发的,但我更喜欢使用 Intellij。

Running the project with GWT Development Mode is not a problem, but debugging it is something else.使用 GWT 开发模式运行项目不是问题,但调试它是另一回事。

I already read some openned questions about this subject but none of them seems to work with me.我已经阅读了一些关于这个主题的开放式问题,但似乎没有一个对我有用。

Here is my configuration right now :这是我现在的配置: 运行/调试配置 I am using gwt 2.3.0 version which force me to use an old firefox 26 version to be able to use Google Web Toolkit Developer Plugin.我使用的是 gwt 2.3.0 版本,这迫使我使用旧的 firefox 26 版本才能使用 Google Web Toolkit Developer Plugin。 This version is also too old to use Super Dev Mode (who came with 2.5.1).这个版本也太旧了,无法使用超级开发模式(2.5.1 附带的)。

I am running IntelliJ 2019 3.1 (Ultimate Edition)我正在运行 IntelliJ 2019 3.1(终极版)

So my question is : what do I miss to successfully debug my 2.3.0 GWT application ?所以我的问题是:成功调试我的 2.3.0 GWT 应用程序我错过了什么?

I finally succeed debugging my app by adding a remote pointing to the same port as the one used by GWT.通过添加指向与 GWT 使用的端口相同的端口的远程,我终于成功调试了我的应用程序。

Here is my remote config:这是我的远程配置:

在此处输入图片说明

I have to run my app as usual and debug my remote to make everything works fine.我必须像往常一样运行我的应用程序并调试我的遥控器以使一切正常。

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

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